Rubrics - Change "Find Outcome Criterion" to "Find Outcome"

Fixes CNVS-16760

Test Plan:

    - If necessary, add an outcome
    - Create/edit an assignment and click "Add Rubric"
    - Observe that the text next to the magnifying glass says "Find
      Outcome" instead of "Find Outcome Criterion"

Change-Id: I1026224351b1f4b6466de64bc26b230618431d51
Reviewed-on: https://gerrit.instructure.com/44060
Product-Review: Hilary Scharton <hilary@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Sean Lewis <slewis@instructure.com>
This commit is contained in:
Benjamin Porter 2014-11-06 16:40:55 -07:00
parent c2e94b1e51
commit f78fd9a755
2 changed files with 2 additions and 8 deletions

View File

@ -141,7 +141,7 @@
</div>
<div style="float: left;" class="editing">
<a href="#" class="icon-add add_criterion_link"><%= t 'links.add_criterion', "Add Criterion" %></a>
&nbsp;&nbsp;<a href="#" class="icon-search find_outcome_link outcome"><%= t 'links.find_outcome_criterion', "Find Outcome Criterion" %></a>
&nbsp;&nbsp;<a href="#" class="icon-search find_outcome_link outcome"><%= t 'links.find_outcome', "Find Outcome" %></a>
</div>
<div class="clear"></div>
</td>

View File

@ -73,15 +73,9 @@ var find_outcome = (function() {
$dialog.find(".loading_message").text(I18n.t('errors.outcome_retrieval_failed', "Outcomes Retrieval failed unexpected. Please try again."));
});
}
var find_outcome_title;
if (options.for_rubric) {
find_outcome_title = I18n.t('titles.find_outcome_criterion', "Find Outcome Criterion");
} else {
find_outcome_title = I18n.t('titles.find_outcome', "Find Outcome");
}
$dialog.dialog({
modal: true,
title: find_outcome_title,
title: I18n.t('titles.find_outcome', "Find Outcome"),
width: 700,
height: 400
});