Update of all templates
Changed help button to link and removed drop-down items
This commit is contained in:
committed by
Nimisha Asthagiri
parent
b7440a51e8
commit
8fcbdaed03
@@ -1,4 +1,5 @@
|
||||
<%inherit file="base.html" />
|
||||
<%def name="online_help_token()"><% return "files" %></%def>
|
||||
<%!
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<%inherit file="base.html" />
|
||||
<%def name="online_help_token()"><% return "checklist" %></%def>
|
||||
<%!
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
from django.utils.translation import ugettext as _
|
||||
%>
|
||||
<%inherit file="base.html" />
|
||||
<%def name="online_help_token()"><% return "updates" %></%def>
|
||||
<%namespace name='static' file='static_content.html'/>
|
||||
|
||||
<!-- TODO decode course # from context_course into title -->
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<%inherit file="base.html" />
|
||||
<%def name="online_help_token()"><% return "export" %></%def>
|
||||
<%namespace name='static' file='static_content.html'/>
|
||||
|
||||
<%!
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<%inherit file="base.html" />
|
||||
<%def name="online_help_token()"><% return "import" %></%def>
|
||||
<%namespace name='static' file='static_content.html'/>
|
||||
<%!
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%! from django.utils.translation import ugettext as _ %>
|
||||
|
||||
<%inherit file="base.html" />
|
||||
|
||||
<%def name="online_help_token()"><% return "home" %></%def>
|
||||
<%block name="title">${_("My Courses")}</%block>
|
||||
<%block name="bodyclass">is-signedin index view-dashboard</%block>
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<%! from student.roles import CourseInstructorRole %>
|
||||
<%! from xmodule.modulestore.django import loc_mapper %>
|
||||
<%inherit file="base.html" />
|
||||
<%def name="online_help_token()"><% return "team" %></%def>
|
||||
<%block name="title">${_("Course Team Settings")}</%block>
|
||||
<%block name="bodyclass">is-signedin course users view-team</%block>
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<%inherit file="base.html" />
|
||||
<%def name="online_help_token()"><% return "outline" %></%def>
|
||||
<%!
|
||||
import logging
|
||||
from util.date_utils import get_default_time_display
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<%inherit file="base.html" />
|
||||
<%def name="online_help_token()"><% return "schedule" %></%def>
|
||||
<%block name="title">${_("Schedule & Details Settings")}</%block>
|
||||
<%block name="bodyclass">is-signedin course schedule view-settings feature-upload</%block>
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<%inherit file="base.html" />
|
||||
<%def name="online_help_token()"><% return "advanced" %></%def>
|
||||
<%namespace name='static' file='static_content.html'/>
|
||||
<%!
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<%inherit file="base.html" />
|
||||
<%def name="online_help_token()"><% return "grading" %></%def>
|
||||
<%block name="title">${_("Grading Settings")}</%block>
|
||||
<%block name="bodyclass">is-signedin course grading view-settings</%block>
|
||||
|
||||
|
||||
@@ -75,6 +75,10 @@ require(["js/models/section", "js/collections/textbook", "js/views/list_textbook
|
||||
<div class="bit">
|
||||
<h3 class="title-3">${_("What if my book isn't divided into chapters?")}</h3>
|
||||
<p>${_("If your textbook doesn't have individual chapters, you can upload the entire text as a single chapter and enter a name of your choice in the Chapter Name field.")}</p>
|
||||
<%
|
||||
help_doc_urls = get_online_help_info(online_help_token)
|
||||
%>
|
||||
<p><a href="${help_doc_urls['doc_url']}" target="_blank">Read More</a></p>
|
||||
</div>
|
||||
</aside>
|
||||
</section>
|
||||
|
||||
@@ -129,30 +129,11 @@
|
||||
help_doc_urls = get_online_help_info(online_help_token)
|
||||
%>
|
||||
|
||||
|
||||
|
||||
<ol>
|
||||
<li class="nav-item nav-account-help">
|
||||
<h3 class="title"><span class="label">${_("Help")}</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-help-documentation">
|
||||
<a href="${help_doc_urls['pdf_url']}" title="${_("This is a PDF Document")}">${_("Studio Documentation")}</a>
|
||||
</li>
|
||||
<li class="nav-item nav-help-helpcenter">
|
||||
<a href="http://help.edge.edx.org/" rel="external">${_("Studio Help Center")}</a>
|
||||
</li>
|
||||
<li class="nav-item nav-help-feedback">
|
||||
<a href="http://help.edge.edx.org/discussion/new" class="show-tender" title="${_("Use our feedback tool, Tender, to share your feedback")}">${_("Contact Us")}</a>
|
||||
</li>
|
||||
% if online_help_token:
|
||||
<li class="nav-item nav-help-online">
|
||||
<a href="${help_doc_urls['doc_url']}" title="${_("Contextual Online Help")}">${_("Online Help")}</a>
|
||||
</li>
|
||||
% endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<h3 class="title"><span class="label"><a href="${help_doc_urls['doc_url']}" title="${_("Contextual Online Help")}" target="${_("_blank")}">${_("Help")}</a></span></h3>
|
||||
</li>
|
||||
|
||||
<li class="nav-item nav-account-user">
|
||||
|
||||
@@ -8,7 +8,6 @@ version = latest
|
||||
[pages]
|
||||
default = index.html
|
||||
home = getting_started/get_started.html
|
||||
courses = building_course/creating_new_course.html
|
||||
outline = creating_content/organizing_course.html
|
||||
updates = creating_content/handouts_updates.html
|
||||
pages = creating_content/pages.html
|
||||
|
||||
Reference in New Issue
Block a user