feat: add marketing url to subscription upsell (#32560)
This commit is contained in:
@@ -21,6 +21,7 @@ from openedx.core.djangolib.js_utils import (
|
||||
<%static:webpack entry="ProgramListFactory">
|
||||
ProgramListFactory({
|
||||
marketingUrl: '${marketing_url | n, js_escaped_string}',
|
||||
subscriptionsMarketingUrl: '${subscriptions_marketing_url | n, js_escaped_string}',
|
||||
programsData: ${programs | n, dump_js_escaped_json},
|
||||
programsSubscriptionData: ${programs_subscription_data | n, dump_js_escaped_json},
|
||||
userProgress: ${progress | n, dump_js_escaped_json},
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
{ minSubscriptionPrice, trialLength }
|
||||
) %>
|
||||
</p>
|
||||
<a href="" class="js-subscription-upsell-cta btn-brand btn cta-primary view-button align-self-stretch">
|
||||
<a href="<%- subscriptionsMarketingUrl %>" class="js-subscription-upsell-cta btn-brand btn cta-primary view-button align-self-stretch">
|
||||
<span class="icon fa fa-search" aria-hidden="true"></span>
|
||||
<span><%- gettext('Explore subscription options') %></span>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user