Commit 4c1ea5aa by David Baumgold

PDF Textbook i18n

parent e059060c
<div class="no-textbook-content"> <div class="no-textbook-content">
<p>You haven't added any textbooks to this course yet. <a href="#" class="button upload-button new-button">Add your first textbook</a></p> <p><%= gettext("You haven't added any textbooks to this course yet.") %><a href="#" class="button upload-button new-button"><%= gettext("Add your first textbook") %></a></p>
</div> </div>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<%namespace name='static' file='static_content.html'/> <%namespace name='static' file='static_content.html'/>
<%! import json %> <%! import json %>
<%block name="title">Textbooks</%block> <%block name="title">${_("Textbooks")}</%block>
<%block name="bodyclass">is-signedin course textbooks</%block> <%block name="bodyclass">is-signedin course textbooks</%block>
<%block name="header_extras"> <%block name="header_extras">
...@@ -44,23 +44,21 @@ $(function() { ...@@ -44,23 +44,21 @@ $(function() {
}) })
}) })
</script> </script>
</%block> </%block>
<%block name="content"> <%block name="content">
<div class="wrapper-mast wrapper"> <div class="wrapper-mast wrapper">
<header class="mast has-actions has-subtitle"> <header class="mast has-actions has-subtitle">
<h1 class="page-header"> <h1 class="page-header">
<small class="subtitle">Course Content</small> <small class="subtitle">${_("Course Content")}</small>
<span class="sr">&gt; </span>Textbooks <span class="sr">&gt; </span>${_("Textbooks")}
</h1> </h1>
<nav class="nav-actions"> <nav class="nav-actions">
<h3 class="sr">Page Actions</h3> <h3 class="sr">${_("Page Actions")}</h3>
<ul> <ul>
<li class="nav-item"> <li class="nav-item">
<a href="#" class="button upload-button new-button"><i class="icon-cloud-upload "></i> New Textbook</a> <a href="#" class="button upload-button new-button"><i class="icon-cloud-upload "></i> ${_("New Textbook")}</a>
</li> </li>
</ul> </ul>
</nav> </nav>
...@@ -73,26 +71,15 @@ $(function() { ...@@ -73,26 +71,15 @@ $(function() {
</article> </article>
<aside class="content-supplementary" role="complimentary"> <aside class="content-supplementary" role="complimentary">
<div class="bit"> <div class="bit">
<h3 class="title-3">Why should I break my text into chapters?</h3> <h3 class="title-3">${_("Why should I break my text into chapters?")}</h3>
<p>It's best practice to break your course's textbook into multiple chapters to reduce loading times for students. Breaking up textbooks into chapters can also help students more easily find topic-based information.</p> <p>${_("It's best practice to break your course's textbook into multiple chapters to reduce loading times for students. Breaking up textbooks into chapters can also help students more easily find topic-based information.")}</p>
</div> </div>
<div class="bit"> <div class="bit">
<h3 class="title-3">What if my book isn't divided into chapters?</h3> <h3 class="title-3">${_("What if my book isn't divided into chapters?")}</h3>
<p>If you haven't broken your textbook into chapters, you can upload the entire text as Chapter 1.</p> <p>${_("If you haven't broken your textbook into chapters, you can upload the entire text as Chapter 1.")}</p>
</div> </div>
</aside> </aside>
</section> </section>
</div> </div>
</%block> </%block>
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