Added new context sensitive link and updated text

Sock template changes
This commit is contained in:
Mark Hoeber
2014-05-14 16:29:30 -04:00
committed by Nimisha Asthagiri
parent 84d8fcf1b5
commit 27ff0db57b
8 changed files with 40 additions and 26 deletions

View File

@@ -128,9 +128,6 @@
<%
help_doc_urls = get_online_help_info(online_help_token)
%>
<ol>
<li class="nav-item nav-account-help">
<h3 class="title"><span class="label"><a href="${help_doc_urls['doc_url']}" title="${_("Contextual Online Help")}" target="${_("_blank")}">${_("Help")}</a></span></h3>

View File

@@ -1,46 +1,51 @@
<%! from django.utils.translation import ugettext as _ %>
<%! from django.core.urlresolvers import reverse %>
<%def name="online_help_token()"><% return "default" %></%def>
<div class="wrapper-sock wrapper">
<ul class="list-actions list-cta">
<li class="action-item">
<a href="#sock" class="cta cta-show-sock"><i class="icon-question-sign"></i> <span class="copy">${_("Looking for Help with Studio?")}</span></a>
<a href="#sock" class="cta cta-show-sock"><i class="icon-question-sign"></i> <span class="copy">${_("Looking for help with Studio?")}</span></a>
</li>
</ul>
<div class="wrapper-inner wrapper">
<section class="sock" id="sock">
<header>
<h2 class="title sr">${_("edX Studio Help")}</h2>
<h2 class="title sr">${_("edX Studio Documentation")}</h2>
</header>
<div class="support">
<h3 class="title">${_("Studio Support")}</h3>
<h3 class="title">${_("edX Studio Documentation")}</h3>
<div class="copy">
<p>${_("Need help with Studio? Creating a course is complex, so we're here to help. Take advantage of our documentation, help center, as well as our edX101 introduction course for course authors.")}</p>
<p>${_("You can click Help in the upper right corner of any page to get more information about the page you're on. You can also use the links below to download the Building and Running an edX Course PDF file, to go to the edX Author Support site, or to enroll in edX101.")}</p>
</div>
<ul class="list-actions">
<%
help_doc_urls = get_online_help_info(online_help_token())
%>
<li class="action-item">
<a href="${help_doc_urls['pdf_url']}" target="_blank" rel="external" class="action action-primary">${_("Building and Running an edX Course PDF")}</a>
</li>
<li class="action-item">
<a href="http://files.edx.org/Getting_Started_with_Studio.pdf" class="action action-primary" title="${_("This is a PDF Document")}">${_("Download Studio Documentation")}</a>
<span class="tip">${_("How to use Studio to build your course")}</span>
</li>
<li class="action-item">
<a href="http://help.edge.edx.org/" rel="external" class="action action-primary">${_("Studio Help Center")}</a>
<span class="tip">${_("Studio Help Center")}</span>
<a href="http://help.edge.edx.org/" rel="external" class="action action-primary">${_("edX Studio Author Support")}</a>
<span class="tip">${_("edX Studio Author Support")}</span>
</li>
<li class="action-item">
<a href="https://edge.edx.org/courses/edX/edX101/How_to_Create_an_edX_Course/about" rel="external" class="action action-primary">${_("Enroll in edX101")}</a>
<span class="tip">${_("How to use Studio to build your course")}</span>
<span class="tip">${_("How to use edX Studio to build your course")}</span>
</li>
</ul>
</div>
<div class="feedback">
<h3 class="title">${_("Contact us about Studio")}</h3>
<h3 class="title">${_("Request help with edX Studio")}</h3>
<div class="copy">
<p>${_("Have problems, questions, or suggestions about Studio? We're also here to listen to any feedback you want to share.")}</p>
<p>${_("Have problems, questions, or suggestions about edX Studio?")}</p>
</div>
<ul class="list-actions">