Commit 4e9e11e4 by Carol Tong

Add Help links and targets for import/export libraries

parent 321544ef
<%inherit file="base.html" />
<%def name="online_help_token()"><% return "export" %></%def>
<%def name="online_help_token()">
<%
if library:
return "export_library"
else:
return "export_course"
%>
</%def>
<%namespace name='static' file='static_content.html'/>
<%!
......
<%inherit file="base.html" />
<%def name="online_help_token()"><% return "import" %></%def>
<%def name="online_help_token()">
<%
if library:
return "import_library"
else:
return "import_course"
%>
</%def>
<%namespace name='static' file='static_content.html'/>
<%!
from django.utils.translation import ugettext as _
......@@ -198,6 +205,9 @@
<h3 class="title-3">${_("Note: Library content is not automatically updated in courses")}</h3>
<p>${_("If you change and import a library that is referenced by randomized content blocks in one or more courses, those courses do not automatically use the updated content. You must manually refresh the randomized content blocks to bring them up to date with the latest library content.")}</p>
</div>
<div class="bit external-help">
<a href="${get_online_help_info(online_help_token())['doc_url']}" target="_blank" class="button external-help-button">${_("Learn more about importing a library")}</a>
</div>
</aside>
%else:
<aside class="content-supplementary" role="complementary">
......@@ -215,6 +225,9 @@
<h3 class="title-3">${_("Warning: Importing while a course is running")}</h3>
<p>${_("If you perform an import while your course is running, and you change the URL names (or url_name nodes) of any Problem components, the student data associated with those Problem components may be lost. This data includes students' problem scores.")}</p>
</div>
<div class="bit external-help">
<a href="${get_online_help_info(online_help_token())['doc_url']}" target="_blank" class="button external-help-button">${_("Learn more about importing a course")}</a>
</div>
</aside>
%endif
</section>
......
......@@ -27,8 +27,10 @@ grading = building_course/establish_grading_policy.html
team = building_course/creating_new_course.html#add-course-team-members
advanced = index.html
checklist = building_course/creating_new_course.html#use-the-course-checklist
import = building_course/export_import_course.html#import-a-course
export = building_course/export_import_course.html#export-a-course
import_library = creating_content/libraries.html#import-a-library
import_course = building_course/export_import_course.html#import-a-course
export_library = creating_content/libraries.html#export-a-library
export_course = building_course/export_import_course.html#export-a-course
welcome = getting_started/get_started.html
login = getting_started/get_started.html
register = getting_started/get_started.html
......
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