Update help for welcome, register, and login pages

All now go to getting started, but have different tokens, for further
segmenting later.
This commit is contained in:
Mark Hoeber
2014-05-29 15:34:49 -04:00
parent 138cd45934
commit 714f440353
5 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
<%inherit file="base.html" />
<%def name="online_help_token()"><% return "welcome" %></%def>
<%namespace name='static' file='static_content.html'/>
<%!
from django.core.urlresolvers import reverse

View File

@@ -1,4 +1,5 @@
<%inherit file="base.html" />
<%def name="online_help_token()"><% return "login" %></%def>
<%!
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _

View File

@@ -1,5 +1,6 @@
<%! from django.utils.translation import ugettext as _ %>
<%inherit file="base.html" />
<%def name="online_help_token()"><% return "register" %></%def>
<%! from django.core.urlresolvers import reverse %>
<%block name="title">${_("Sign Up")}</%block>

View File

@@ -150,11 +150,8 @@
<nav class="nav-not-signedin nav-pitch">
<h2 class="sr">${_("You're not currently signed in")}</h2>
<ol>
<li class="nav-item nav-not-signedin-hiw">
<a href="/">${_("How Studio Works")}</a>
</li>
<li class="nav-item nav-not-signedin-help">
<a href="http://help.edge.edx.org/" rel="external">${_("Studio Help")}</a>
<a href="${get_online_help_info(online_help_token)['doc_url']}" title="${_("Contextual Online Help")}" target="${_("_blank")}">${_("Help")}</a>
</li>
<li class="nav-item nav-not-signedin-signup">
<a class="action action-signup" href="${reverse('signup')}">${_("Sign Up")}</a>