Commit a5dc426c by Sarina Canelake

i18n LMS and Studio components of course handouts

parent 60349e3a
<a href="#" class="edit-button"><span class="edit-icon"></span>Edit</a>
<a href="#" class="edit-button"><span class="edit-icon"></span><%= gettext("Edit") %></a>
<h2 class="title">Course Handouts</h2>
<h2 class="title"><%= gettext("Course Handouts") %></h2>
<%if (model.get('data') != null) { %>
<div class="handouts-content">
</div>
<% } else {%>
<p>${_("You have no handouts defined")}</p>
<p><%= gettext("You have no handouts defined") %></p>
<% } %>
<form class="edit-handouts-form" style="display: block;">
<div class="message message-status error" name="handout_html_error" id="handout_error"><%=gettext("There is invalid code in your content. Please check to make sure it is valid HTML.")%></div>
<div class="message message-status error" name="handout_html_error" id="handout_error">
<%= gettext("There is invalid code in your content. Please check to make sure it is valid HTML.") %>
</div>
<div class="row">
<textarea class="handouts-content-editor text-editor"></textarea>
</div>
<div class="row">
<a href="#" class="save-button">Save</a>
<a href="#" class="cancel-button">Cancel</a>
<a href="#" class="save-button"><%= gettext("Save") %></a>
<a href="#" class="cancel-button"><%= gettext("Cancel") %></a>
</div>
</form>
......@@ -40,8 +40,8 @@ $(document).ready(function(){
<h1>${_("Course Updates &amp; News")}</h1>
${get_course_info_section(request, course, 'updates')}
</section>
<section aria-label="Handout Navigation" class="handouts">
<h1>${course.info_sidebar_name}</h1>
<section aria-label="${_('Handout Navigation')}" class="handouts">
<h1>${_(course.info_sidebar_name)}</h1>
${get_course_info_section(request, course, 'handouts')}
</section>
% else:
......
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