Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a5dc426c
Commit
a5dc426c
authored
Jul 10, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n LMS and Studio components of course handouts
parent
60349e3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
cms/templates/js/course_info_handouts.underscore
+8
-6
lms/templates/courseware/info.html
+2
-2
No files found.
cms/templates/js/course_info_handouts.underscore
View file @
a5dc426c
<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>
lms/templates/courseware/info.html
View file @
a5dc426c
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment