Skip to content

Commit

Permalink
Update nav links to supportCalls and supportAssignments #1450
Browse files Browse the repository at this point in the history
  • Loading branch information
ltwheeler committed Nov 30, 2017
1 parent 3e42f63 commit 2a143be
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/shared/templates/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,20 +136,20 @@ <h1 style="color: #fff; margin:0;">IPA</h1>
</a>
</li>

<li ng-class="{ 'active': currentBaseHref == 'instructionalSupport', 'opened': expanded == 'support' || (!expanded && currentBaseHref == 'instructionalSupport') }"
<li ng-class="{ 'active': currentBaseHref == 'supportCalls' || currentBaseHref == 'supportAssignments', 'opened': expanded == 'support' || (!expanded && (currentBaseHref == 'supportCalls' || currentBaseHref == 'supportAssignments')) }"
ng-if="userHasRoles(['academicPlanner','reviewer'])" class="has-sub root-level">
<a class="clickable" ng-click="toggleMenuItem('support')">
<i class="entypo-users"></i>
<span class="title">Support</span>
</a>
<ul ng-class="{ 'visible': expanded == 'support' || (!expanded && currentBaseHref == 'instructionalSupport') }">
<li ng-class="{ 'active': currentBaseHref == 'instructionalSupport' && currentEndHref.length == 2}">
<a ng-href="/instructionalSupport/{{ workgroupId }}/{{ year }}/{{ termShortCode || '03'}}">
<ul ng-class="{ 'visible': expanded == 'support' || (!expanded && (currentBaseHref == 'supportCalls' || currentBaseHref == 'supportAssignments')) }">
<li ng-class="{ 'active': currentBaseHref == 'supportAssignments' && currentEndHref.length == 2}">
<a ng-href="/supportAssignments/{{ workgroupId }}/{{ year }}/{{ termShortCode || '03'}}">
Support Assignments
</a>
</li>
<li ng-class="{ 'active': currentBaseHref == 'instructionalSupport' && currentEndHref == 'supportCallStatus'}">
<a ng-href="/instructionalSupport/{{ workgroupId }}/{{ year }}/{{ termShortCode || '03'}}/supportCallStatus">
<li ng-class="{ 'active': currentBaseHref == 'supportCalls' }">
<a ng-href="/supportCalls/{{ workgroupId }}/{{ year }}/{{ termShortCode || '03'}}">
Support Calls
</a>
</li>
Expand Down

0 comments on commit 2a143be

Please sign in to comment.