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>
{{#t "options"}}Options{{/t}}
</a>
<ul class=gradebook-header-menu>
<a id=total_dropdown class=gradebook-header-drop href="#" role=button>
{{#t "options"}}Options{{/t}}
</a>
<ul class=gradebook-header-menu>
{{#unless weightedGroups}}
<li><a class=toggle_percent href="#">
{{#if showingPoints}}
{{#t "switch_to_percent"}}Switch to percent{{/t}}
@ -10,12 +10,12 @@
{{#t "switch_to_points"}}Switch to points{{/t}}
{{/if}}
</a></li>
<li><a class=move_column href=#>
{{#if totalColumnInFront}}
{{#t "move_to_end"}}Move to end{{/t}}
{{else}}
{{#t "move_to_front"}}Move to front{{/t}}
{{/if}}
</a></li>
</ul>
{{/unless}}
{{/unless}}
<li><a class=move_column href=#>
{{#if totalColumnInFront}}
{{#t "move_to_end"}}Move to end{{/t}}
{{else}}
{{#t "move_to_front"}}Move to front{{/t}}
{{/if}}
</a></li>
</ul>