Commit 2f5362f8 by Alison Hodges

Fixes DOC-3360 to make help context-sensitive

parent 663fbbba
<%page expression_filter="h"/> <%page expression_filter="h"/>
<%inherit file="main.html" /> <%inherit file="main.html" />
<%def name="online_help_token()"><% return "learnerdashboard" %></%def>
<%namespace name='static' file='static_content.html'/> <%namespace name='static' file='static_content.html'/>
<%! <%!
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext as _
......
## mako ## mako
<%page expression_filter="h"/> <%page expression_filter="h" args="online_help_token"/>
<%namespace name='static' file='static_content.html'/> <%namespace name='static' file='static_content.html'/>
<%namespace file='main.html' import="login_query"/> <%namespace file='main.html' import="login_query"/>
<%! <%!
...@@ -104,7 +104,7 @@ site_status_msg = get_site_status_msg(course_id) ...@@ -104,7 +104,7 @@ site_status_msg = get_site_status_msg(course_id)
<%include file="user_dropdown.html"/> <%include file="user_dropdown.html"/>
<a href="${get_online_help_info(online_help_token)['doc_url']}" <a href="${get_online_help_info(online_help_token)['doc_url']}"
target="_blank" target="_blank"
class="doc-link">${_("Help")}</a> class="doc-link">${_("Help")}</a>
......
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