Fix text issue

This commit is contained in:
Vik Paruchuri
2013-08-02 13:23:03 -04:00
parent bca308e70e
commit 932bbd2592
3 changed files with 7 additions and 7 deletions

View File

@@ -560,12 +560,12 @@ class @CombinedOpenEnded
collapse_question: (event) =>
@prompt_container.slideToggle()
@prompt_container.toggleClass('open')
if @question_header.text() == "(Hide)"
new_text = "↧ Show Prompt"
if @question_header.text() == "Hide Prompt"
new_text = "Show Prompt"
Logger.log 'oe_hide_question', {location: @location}
else
Logger.log 'oe_show_question', {location: @location}
new_text = "↥ Hide Prompt"
new_text = "Hide Prompt"
@question_header.text(new_text)
return false
@@ -573,13 +573,13 @@ class @CombinedOpenEnded
if @prompt_container.is(":hidden")==true
@prompt_container.slideToggle()
@prompt_container.toggleClass('open')
@question_header.text("↥ Hide Prompt")
@question_header.text("Hide Prompt")
prompt_hide: () =>
if @prompt_container.is(":visible")==true
@prompt_container.slideToggle()
@prompt_container.toggleClass('open')
@question_header.text("↧ Show Prompt")
@question_header.text("Show Prompt")
log_feedback_click: (event) ->
link_text = @$(event.target).html()

View File

@@ -520,7 +520,7 @@ class CombinedOpenEndedV1Module():
grader_types, feedback_items)
contexts.append({
'result': rubric_html,
'task_name': 'Scored Rubric'
'task_name': 'Scored rubric'
})
context = {

View File

@@ -30,7 +30,7 @@
<div class="visibility-control visibility-control-prompt">
<div class="inner">
</div>
<a href="" class="question-header">&#x21a5; Hide Prompt</a>
<a href="" class="question-header">Hide Prompt</a>
</div>
<div class="problem-container">
% for item in items: