Commit ac4d3124 by Vik Paruchuri

Make rubric text generic, fix right arrow

parent b817f4ca
......@@ -667,10 +667,4 @@ class @CombinedOpenEnded
toggle_rubric: (event) =>
info_rubric_elements = @$(@info_rubric_elements_sel)
info_rubric_elements.slideToggle()
@rubric_header = @$(@rubric_collapse_sel)
if @rubric_header.text() == "Show Score Only"
new_text = "Show Full Rubric"
else
new_text = "Show Score Only"
@rubric_header.text(new_text)
return false
......@@ -14,7 +14,7 @@
</div>
<div class="oe-tools rubric-header">
<span class="oe-tools-label">${_("Rubric: ")}</span>
<button class="rubric-collapse" href="#">${_("Show Score Only:")}</button>
<button class="rubric-collapse" href="#">${_("Toggle Rubric")}</button>
<span class="oe-tools-scores">
<span class="oe-tools-scores-label">${_("Scores:")}</span>
% if len(results)>1:
......@@ -22,7 +22,7 @@
% endif
${result['task_name']} from grader ${i+1}
% if len(results)>1:
<button href="#" alt="Next" class="rubric-button rubric-next-button">i class="icon-chevron-right"></i></button>
<button href="#" alt="Next" class="rubric-button rubric-next-button"><i class="icon-chevron-right"></i></button>
% endif
</span>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment