Changeset ba59c6a in iPeer


Ignore:
Timestamp:
2012-12-20T17:53:57-08:00 (5 years ago)
Author:
John Hsu <john.hsu@…>
Branches:
3.1.x, dev, hotfix, master, pagodabox, ticket463
Children:
f76260c
Parents:
169cf4dd
git-author:
John Hsu <john.hsu@…> (12/20/2012 04:18:53 PM)
git-committer:
John Hsu <john.hsu@…> (12/20/2012 05:53:57 PM)
Message:

Change course home to reflect surveys as events.

Since surveys are now treated like all the other events, there's no need
for it to have special links. I've removed the survey specific links.
The remaining links are all Team Maker related and have been classified
as such.

Location:
app/views
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • app/views/courses/home.ctp

    r169cf4dd rba59c6a  
    5050if (User::hasPermission('controllers/Surveys')) {
    5151  $submenu = 'TeamMaker';
    52   $submenuTitle = __('Surveys (Team Maker)', true);
     52  $submenuTitle = __('Team Maker', true);
    5353  $params = array('controller'=>'courses', 'submenu'=>$submenu, 'submenuTitle'=>$submenuTitle, 'course_id'=>$course_id);
    5454  echo $this->element('courses/submenu', $params);
  • app/views/elements/courses/submenu.ctp

    r169cf4dd rba59c6a  
    3939    array_push(
    4040      $items,
    41       array('name' => 'Edit Survey', 'link' => "/surveys/index/$course_id"),
    42       array('name' => 'View Survey Results',
    43         'link' => "/surveygroups/viewresult/$course_id"),
    4441      array('name' => 'Create Groups (Auto)',
    4542        'link' => "/surveygroups/makegroups/$course_id"),
Note: See TracChangeset for help on using the changeset viewer.