Created
December 2, 2014 09:14
-
-
Save e-kolpakov/afc0942f781c63b4ca42 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % elif context_library: | |
| <% | |
| library_key = context_library.location.course_key | |
| index_url = reverse('contentstore.views.library_handler', kwargs={'library_key_string': unicode(library_key)}) | |
| import_url = 'TODO' | |
| export_url = 'TODO' | |
| %> | |
| <h2 class="info-course"> | |
| <span class="sr">${_("Current Library:")}</span> | |
| <a class="course-link" href="${index_url}"> | |
| <span class="course-org">${context_library.display_org_with_default | h}</span><span class="course-number">${context_library.display_number_with_default | h}</span> | |
| <span class="course-title" title="${context_library.display_name_with_default}">${context_library.display_name_with_default}</span> | |
| </a> | |
| </h2> | |
| <nav class="nav-course nav-dd ui-left"> | |
| <h2 class="sr">${_("{course_name}'s Navigation:").format(course_name=context_library.display_name_with_default)}</h2> | |
| <ol> | |
| <li class="nav-item nav-course-tools"> | |
| <h3 class="title"><span class="label">${_("Tools")}</span> <i class="icon-caret-down ui-toggle-dd"></i></h3> | |
| <div class="wrapper wrapper-nav-sub"> | |
| <div class="nav-sub"> | |
| <ul> | |
| <li class="nav-item nav-course-tools-import"> | |
| <a href="${import_url}">${_("Import")}</a> | |
| </li> | |
| <li class="nav-item nav-course-tools-export"> | |
| <a href="${export_url}">${_("Export")}</a> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| </li> | |
| </ol> | |
| </nav> | |
| % endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment