always show gb2 "move total column" option

fixes CNVS-15081

Test plan:
  make sure you can move your total column in gb2 whether or not your
  assignment groups are weighted.

Change-Id: I7e76f1ea95f67de326ba77fbf963017bb824a881
Reviewed-on: https://gerrit.instructure.com/39984
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
This commit is contained in:
Cameron Matheson 2014-08-26 10:26:59 -06:00
parent ddb704c6cc
commit ff58a8fa56
1 changed files with 14 additions and 14 deletions

View File

@ -1,8 +1,8 @@
{{#unless weightedGroups}} <a id=total_dropdown class=gradebook-header-drop href="#" role=button>
<a id=total_dropdown class=gradebook-header-drop href="#" role=button>
{{#t "options"}}Options{{/t}} {{#t "options"}}Options{{/t}}
</a> </a>
<ul class=gradebook-header-menu> <ul class=gradebook-header-menu>
{{#unless weightedGroups}}
<li><a class=toggle_percent href="#"> <li><a class=toggle_percent href="#">
{{#if showingPoints}} {{#if showingPoints}}
{{#t "switch_to_percent"}}Switch to percent{{/t}} {{#t "switch_to_percent"}}Switch to percent{{/t}}
@ -10,6 +10,7 @@
{{#t "switch_to_points"}}Switch to points{{/t}} {{#t "switch_to_points"}}Switch to points{{/t}}
{{/if}} {{/if}}
</a></li> </a></li>
{{/unless}}
<li><a class=move_column href=#> <li><a class=move_column href=#>
{{#if totalColumnInFront}} {{#if totalColumnInFront}}
{{#t "move_to_end"}}Move to end{{/t}} {{#t "move_to_end"}}Move to end{{/t}}
@ -17,5 +18,4 @@
{{#t "move_to_front"}}Move to front{{/t}} {{#t "move_to_front"}}Move to front{{/t}}
{{/if}} {{/if}}
</a></li> </a></li>
</ul> </ul>
{{/unless}}