Studio: adding in doc URL logic for course re-run help link

This commit is contained in:
Brian Talbot
2014-08-15 12:41:39 -04:00
committed by Ben McMorran
parent b43c757101
commit 972b392d62

View File

@@ -1,5 +1,5 @@
<%inherit file="base.html" />
<%def name="online_help_token()"><% return "course_rerun" %></%def>
<%! from django.utils.translation import ugettext as _ %>
<%! from django.core.urlresolvers import reverse %>
@@ -146,8 +146,8 @@ require(["domReady!", "jquery", "jquery.form", "js/views/course_rerun"], functio
</div>
<div class="bit external-help">
<a href="" class="button external-help-button">${_("Learn more about Course Re-runs")}</a>
<div class="bit">
<a href="${get_online_help_info(online_help_token())['doc_url']}" target="_blank" class="button external-help-button">${_("Learn more about Course Re-runs")}</a>
</div>
</aside>
</section>