25 lines
1.2 KiB
HTML
25 lines
1.2 KiB
HTML
<%page args="content_gating_enabled, course_duration_limit_enabled, min_price, price_before_discount" expression_filter="h"/>
|
|
|
|
<%!
|
|
from django.utils.translation import ugettext as _
|
|
from openedx.core.djangolib.markup import HTML, Text
|
|
%>
|
|
|
|
<%namespace name='static' file='../static_content.html'/>
|
|
|
|
<li class="action action-select">
|
|
<input type="hidden" name="contribution" value="${price_before_discount or min_price}" />
|
|
% if content_gating_enabled or course_duration_limit_enabled:
|
|
<button type="submit" name="verified_mode">
|
|
<span>${_('Pursue the Verified Track')}</span>
|
|
% else:
|
|
<button type="submit" name="verified_mode">
|
|
<span>${_('Pursue a Verified Certificate')}</span>
|
|
% endif
|
|
% if price_before_discount:
|
|
(<span class="upgrade-price-string">${currency_symbol}${min_price} ${currency}</span> <del> <span class="upgrade-price-string">${Text('{currency_symbol}{price} {currency}').format(currency_symbol=currency_symbol, price=price_before_discount, currency=currency)}</span></del>)
|
|
% else:
|
|
(<span class="upgrade-price-string">${currency_symbol}${min_price} ${currency}</span>)
|
|
% endif
|
|
</button>
|
|
</li> |