From 0c59f10b521477df2f8f498b76f0f306f10c1717 Mon Sep 17 00:00:00 2001 From: Will Daly Date: Mon, 10 Nov 2014 13:59:06 -0500 Subject: [PATCH] Include zoom only if the page is marked as responsive --- lms/djangoapps/student_account/views.py | 1 + lms/templates/main.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lms/djangoapps/student_account/views.py b/lms/djangoapps/student_account/views.py index 8ec5453c6a..5c88c96866 100644 --- a/lms/djangoapps/student_account/views.py +++ b/lms/djangoapps/student_account/views.py @@ -72,6 +72,7 @@ def login_and_registration_form(request, initial_mode="login"): 'initial_mode': initial_mode, 'third_party_auth': json.dumps(_third_party_auth_context(request)), 'platform_name': settings.PLATFORM_NAME, + 'responsive': True } return render_to_response('student_account/login_and_register.html', context) diff --git a/lms/templates/main.html b/lms/templates/main.html index f9ec256b90..ceafa142e8 100644 --- a/lms/templates/main.html +++ b/lms/templates/main.html @@ -12,6 +12,9 @@ + % if responsive: + + % endif <%! from django.utils.translation import ugettext as _ %> <%! from microsite_configuration import microsite %> <%! from microsite_configuration import page_title_breadcrumbs %>