diff --git a/lms/templates/courseware/course_navigation.html b/lms/templates/courseware/course_navigation.html index 5df09207b1..92c9632625 100644 --- a/lms/templates/courseware/course_navigation.html +++ b/lms/templates/courseware/course_navigation.html @@ -19,34 +19,34 @@ def url_class(url):
  1. Courseware
  2. Course Info
  3. -% if hasattr(course,'syllabus_present') and course.syllabus_present: + % if hasattr(course,'syllabus_present') and course.syllabus_present:
  4. Syllabus
  5. -% endif -% if user.is_authenticated(): - % if settings.MITX_FEATURES.get('ENABLE_TEXTBOOK'): + % endif + % if user.is_authenticated(): + % if settings.MITX_FEATURES.get('ENABLE_TEXTBOOK'): % for index, textbook in enumerate(course.textbooks):
  6. ${textbook.title}
  7. % endfor - % endif - % if settings.MITX_FEATURES.get('ENABLE_DISCUSSION_SERVICE'): + % endif + % if settings.MITX_FEATURES.get('ENABLE_DISCUSSION_SERVICE'):
  8. Discussion
  9. ##
  10. News
  11. - % endif - - % if settings.MITX_FEATURES.get('ENABLE_DISCUSSION'): -
  12. Discussion
  13. - % endif -% endif -% if settings.WIKI_ENABLED: -
  14. Wiki
  15. -% endif -% if user.is_authenticated(): -
  16. Progress
  17. -% endif -% if staff_access: -
  18. Instructor
  19. -% endif + % endif + % if settings.MITX_FEATURES.get('ENABLE_DISCUSSION'): +
  20. Discussion
  21. + % endif + % endif + + % if settings.WIKI_ENABLED: +
  22. Wiki
  23. + % endif + % if user.is_authenticated(): +
  24. Progress
  25. + % endif + % if staff_access: +
  26. Instructor
  27. + % endif