From 0211a2b0ff6733edfa1407d3309a1b1acd167be5 Mon Sep 17 00:00:00 2001 From: Nicholas D'Alfonso Date: Fri, 7 Aug 2020 16:52:01 -0400 Subject: [PATCH] AA-287 cta events --- lms/templates/dates_banner.html | 28 +++-------- lms/templates/problem.html | 31 +++++++++--- lms/templates/vert_module.html | 30 ++++++++---- .../lib/xblock_services/call_to_action.py | 9 +++- .../course_experience/api/v1/views.py | 28 +++++++++-- .../call_to_action.py | 48 ++++++++++--------- 6 files changed, 110 insertions(+), 64 deletions(-) diff --git a/lms/templates/dates_banner.html b/lms/templates/dates_banner.html index 232b45ff11..143fe657e1 100644 --- a/lms/templates/dates_banner.html +++ b/lms/templates/dates_banner.html @@ -9,13 +9,13 @@ from course_modes.models import CourseMode %> <% -additional_styling_class = 'on-mobile' if is_mobile_app and not is_learning_mfe else 'has-button' +additional_styling_class = 'on-mobile' if is_mobile_app else 'has-button' %> <%def name="reset_dates_banner()"> <%def name="upgrade_to_reset_banner()">