diff --git a/cms/templates/export.html b/cms/templates/export.html index 5b924749b7..f8534f73d2 100644 --- a/cms/templates/export.html +++ b/cms/templates/export.html @@ -1,5 +1,12 @@ <%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'/> <%! diff --git a/cms/templates/import.html b/cms/templates/import.html index 4d445948e5..b7a356461c 100644 --- a/cms/templates/import.html +++ b/cms/templates/import.html @@ -1,5 +1,12 @@ <%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 @@
${_("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.")}
+ %else: %endif diff --git a/docs/config.ini b/docs/config.ini index ceeeab2ed0..571949e183 100644 --- a/docs/config.ini +++ b/docs/config.ini @@ -28,8 +28,10 @@ team_course = building_course/creating_new_course.html#add-course-team-members team_library = creating_content/libraries.html#give-other-users-access-to-your-library 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