diff --git a/edx-platform/nau-basic/cms/templates/widgets/footer.html b/edx-platform/nau-basic/cms/templates/widgets/footer.html index 78e35ab..8cafcbc 100644 --- a/edx-platform/nau-basic/cms/templates/widgets/footer.html +++ b/edx-platform/nau-basic/cms/templates/widgets/footer.html @@ -96,59 +96,3 @@ - -## Jira Service Desk Widget -<% - jira_service_desk = static.get_value('NAU_STUDIO_JIRA_SERVICE_DESK_KEY', getattr(settings, 'NAU_STUDIO_JIRA_SERVICE_DESK_KEY', None)) -%> -% if jira_service_desk: - -% endif - - -## Chatbot -<% - chatbox_startup_js_url = static.get_value('NAU_S_CHATBOT_JS_URL', getattr(settings, 'NAU_STUDIO_CHATBOT_JS_URL', None)) -%> -% if chatbox_startup_js_url: - <% - chatbot_ignore_paths = static.get_value('NAU_STUDIO_CHATBOT_IGNORE_PATHS', getattr(settings, 'NAU_STUDIO_CHATBOT_IGNORE_PATHS', [])) - # chatbot_ignore_paths = ['/register', '/login'] - %> - % if request.path not in chatbot_ignore_paths: - <% - chatbot_user_email = "" - if user.is_authenticated: - chatbot_user_email = user.email - endif - chatbot_user_course = "" - if course: - chatbot_user_course = course.display_name_with_default + "-" + course.display_org_with_default + "-" + course.display_number_with_default - endif - %> - - % endif -% endif diff --git a/edx-platform/nau-basic/cms/templates/widgets/segment-io.html b/edx-platform/nau-basic/cms/templates/widgets/segment-io.html index 43a9bde..4949063 100644 --- a/edx-platform/nau-basic/cms/templates/widgets/segment-io.html +++ b/edx-platform/nau-basic/cms/templates/widgets/segment-io.html @@ -41,37 +41,6 @@ <%! from lms.djangoapps.ccx.overrides import get_current_ccx %> -<% nau_ga_acct = static.get_value("NAU_GOOGLE_ANALYTICS_ACCOUNT", getattr(settings, 'NAU_GOOGLE_ANALYTICS_ACCOUNT', False)) %> -% if nau_ga_acct: - - - -% endif <% nau_gtm_tracking_id = static.get_value('NAU_GOOGLE_TAG_MANAGER_ID', getattr(settings, 'NAU_GOOGLE_TAG_MANAGER_ID', None)) %> % if nau_gtm_tracking_id: diff --git a/edx-platform/nau-basic/lms/templates/footer.html b/edx-platform/nau-basic/lms/templates/footer.html index 5ae8fca..c574753 100644 --- a/edx-platform/nau-basic/lms/templates/footer.html +++ b/edx-platform/nau-basic/lms/templates/footer.html @@ -106,59 +106,3 @@ <%include file="modal-update-terms-of-service.html" /> - -## Jira Service Desk Widget -<% - jira_service_desk = static.get_value('NAU_LMS_JIRA_SERVICE_DESK_KEY', getattr(settings, 'NAU_LMS_JIRA_SERVICE_DESK_KEY', None)) -%> -% if jira_service_desk: - -% endif - -## Chatbot -<% - chatbox_startup_js_url = static.get_value('NAU_LMS_CHATBOT_JS_URL', getattr(settings, 'NAU_LMS_CHATBOT_JS_URL', None)) -%> -% if chatbox_startup_js_url: - <% - chatbot_ignore_paths = static.get_value('NAU_LMS_CHATBOT_IGNORE_PATHS', getattr(settings, 'NAU_LMS_CHATBOT_IGNORE_PATHS', [])) - # chatbot_ignore_paths = ['/register', '/login'] - %> - % if request.path not in chatbot_ignore_paths: - <% - chatbot_user_email = "" - if user.is_authenticated: - chatbot_user_email = user.email - endif - chatbot_user_course = "" - if course: - chatbot_user_course = course.display_name_with_default + "-" + course.display_org_with_default + "-" + course.display_number_with_default - endif - %> - - % endif -% endif diff --git a/edx-platform/nau-basic/lms/templates/head-extra.html b/edx-platform/nau-basic/lms/templates/head-extra.html index f313755..9abe17e 100644 --- a/edx-platform/nau-basic/lms/templates/head-extra.html +++ b/edx-platform/nau-basic/lms/templates/head-extra.html @@ -4,37 +4,6 @@ from openedx.core.djangolib.js_utils import js_escaped_string from lms.djangoapps.ccx.overrides import get_current_ccx %> -<% nau_ga_acct = static.get_value("NAU_GOOGLE_ANALYTICS_ACCOUNT", getattr(settings, 'NAU_GOOGLE_ANALYTICS_ACCOUNT', False)) %> -% if nau_ga_acct: - - - -% endif <% nau_gtm_tracking_id = static.get_value('NAU_GOOGLE_TAG_MANAGER_ID', getattr(settings, 'NAU_GOOGLE_TAG_MANAGER_ID', None)) %> % if nau_gtm_tracking_id: