Merge pull request #4367 from edx/sarina/i18n-course-handouts
i18n LMS and Studio components of course handouts
This commit is contained in:
@@ -1,20 +1,22 @@
|
||||
<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 & 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:
|
||||
|
||||
Reference in New Issue
Block a user