change wording of the edit homepage button
test plan (with draft state enabled): * navigate to the course home page - the button should now read 'Choose Home Page' * click the 'Choose Home Page' button - the dialog title should read 'Choose Home Page' * confirming the dialog should correctly change the home page fixes CNVS-12128 Change-Id: Ic1088ad1335c1288f4a5a9721bdb62c6c95f5ad6 Reviewed-on: https://gerrit.instructure.com/34738 Reviewed-by: Jeremy Stanley <jeremy@instructure.com> QA-Review: Clare Strong <clare@instructure.com> Tested-by: Jenkins <jenkins@instructure.com> Product-Review: Mark Severson <markse@instructure.com>
This commit is contained in:
parent
e1cd2b5b3f
commit
cd0ef4f936
|
@ -21,8 +21,8 @@
|
|||
<div class="course-options">
|
||||
<% if @can_manage_content %>
|
||||
<a class="button-sidebar-wide element_toggler" aria-controls="edit_course_home_content_form" href="<%= context_url(@context, :context_details_url) %>">
|
||||
<i class="icon-edit"></i>
|
||||
<%= t('links.edit_homepage', %{Edit Homepage}) %>
|
||||
<i class="icon-target"></i>
|
||||
<%= t('links.choose_home_page', %{Choose Home Page}) %>
|
||||
</a>
|
||||
<% end %>
|
||||
|
||||
|
@ -144,7 +144,7 @@
|
|||
<% content_for :right_side do %>
|
||||
<div id="edit_course_home_content" style="display: none;">
|
||||
<h2><%= t('draft_state.headings.set_layout', %{Set Home Page Layout}) %></h2>
|
||||
<%= form_for :course, :url => context_url(@context, :context_url), :html => {:tabindex=>"0", :'data-turn-into-dialog'=>'{"height": 300, "width":500,"modal":true}', :title=>t('headings.edit_homepage_title', %{Edit Homepage}), :style => "display:none", :id => "edit_course_home_content_form", :method => :put} do |f| %>
|
||||
<%= form_for :course, :url => context_url(@context, :context_url), :html => {:tabindex=>"0", :'data-turn-into-dialog'=>'{"height": 300, "width":500,"modal":true}', :title=>t('headings.choose_home_page_title', %{Choose Home Page}), :style => "display:none", :id => "edit_course_home_content_form", :method => :put} do |f| %>
|
||||
<label for="edit_course_home_content_select"><%= t('draft_state.labels.select_content', %{Select what you'd like to display on the homepage.}) %></label>
|
||||
<br>
|
||||
<select name="course[default_view]" id="edit_course_home_content_select">
|
||||
|
|
Loading…
Reference in New Issue