Reduce the amount of repeated HTML and add checks for the correct settings.
This commit is contained in:
@@ -236,7 +236,14 @@
|
||||
|
||||
<div class="cta cta-help">
|
||||
<h3>Need Help?</h3>
|
||||
<p>Need help in registering with edX? <a href="${settings.MKTG_URLS.get('ROOT')}${settings.MKTG_URLS.get('FAQ')}">View our FAQs for answers to commonly asked questions</a>. Once registered, most questions can be answered in the course specific discussion forums or through the FAQs.</p>
|
||||
<p>Need help in registering with edX?
|
||||
% if settings.MITX_FEATURES.get('ENABLE_MKTG_SITE'):
|
||||
<a href="${settings.MKTG_URLS.get('ROOT')}${settings.MKTG_URLS.get('FAQ')}">
|
||||
%else:
|
||||
<a href="${reverse('help_edx')}">
|
||||
%endif
|
||||
View our FAQs for answers to commonly asked questions.
|
||||
</a>. Once registered, most questions can be answered in the course specific discussion forums or through the FAQs.</p>
|
||||
</div>
|
||||
</aside>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user