Change user facing "conditional release" to "mastery paths"

refs CYOE-262

Test Plan
All user-facing CYOE strings should now be "Mastery Paths" instead of
"Conditional Release." Includes
1. Assignment, discussion, quiz edit pages, and in the tab and editor
2. WikiPage edit checkbox
3. Feature flag name on account and course settings

Change-Id: Ib79177bea6fd3b1fe14ef5c99e8bd964092ca7ac
Reviewed-on: https://gerrit.instructure.com/85521
Tested-by: Jenkins
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Christian Prescott <cprescott@instructure.com>
This commit is contained in:
Christian Prescott 2016-07-15 15:57:11 -06:00
parent 8b04f05d4f
commit df03406242
5 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@
{{#if ENV.CONDITIONAL_RELEASE_SERVICE_ENABLED }}
<ul id="discussion-edit-header-tabs">
<li><a href="#discussion-details-tab" id="details_link">{{#t}}Details{{/t}}</a></li>
<li><a href="#discussion-conditional-release-tab" id="conditional_release_link">{{#t}}Conditional Content{{/t}}</a></li>
<li><a href="#discussion-conditional-release-tab" id="conditional_release_link">{{#t}}Mastery Paths{{/t}}</a></li>
<span id="discussion-edit-header-spacer"></span>
{{> DiscussionTopics/publishedButton }}
</ul>

View File

@ -9,7 +9,7 @@
<div id="edit-assignment-header-cr-tabs" class="ui-tabs-minimal">
<ul id="edit-assignment-header-cr-tab-nav">
<li><a href="#edit_assignment_wrapper" id="edit_assignment_link">{{#t}}Details{{/t}}</a></li>
<li><a href="#conditional_release_wrapper" id="conditional_release_link">{{#t}}Conditional Content{{/t}}</a></li>
<li><a href="#conditional_release_wrapper" id="conditional_release_link">{{#t}}Mastery Paths{{/t}}</a></li>
{{! this is a weird place for this, but we need to make this line up with the tabs}}
<span id='edit-assignment-header-cr-spacer'></span>
{{#if published}}

View File

@ -42,7 +42,7 @@
id="conditional_content"
class="element_toggler"
checked=set_assignment}}
{{#t}}Conditional content{{/t}}
{{#t}}Allow in mastery paths{{/t}}
</label>
</div>
{{/if}}

View File

@ -25,7 +25,7 @@
<li><a href="#options_tab"><%= t('Details') %></a></li>
<li><a href="#questions_tab"><%= t('Questions') %></a></li>
<% if ConditionalRelease::Service.enabled_in_context?(@context) then %>
<li><a href="#conditional_release_tab"><%= t('Conditional Content') %></a></li>
<li><a href="#conditional_release_tab"><%= t('Mastery Paths') %></a></li>
<% end %>
</ul>
<%= render :partial => 'quiz_edit_details' %>

View File

@ -412,7 +412,7 @@ END
},
'conditional_release' =>
{
display_name: -> { I18n.t('Conditional Release') },
display_name: -> { I18n.t('Mastery Paths') },
description: -> { I18n.t('Configure individual learning paths for students based on assessment results.') },
applies_to: 'Course',
state: 'hidden',