Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
0c59f10b
Commit
0c59f10b
authored
Nov 10, 2014
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include zoom only if the page is marked as responsive
parent
5fdd9665
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
lms/djangoapps/student_account/views.py
+1
-0
lms/templates/main.html
+3
-0
No files found.
lms/djangoapps/student_account/views.py
View file @
0c59f10b
...
...
@@ -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
)
...
...
lms/templates/main.html
View file @
0c59f10b
...
...
@@ -12,6 +12,9 @@
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
% if responsive:
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
% endif
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%!
from
microsite_configuration
import
microsite
%
>
<
%!
from
microsite_configuration
import
page_title_breadcrumbs
%
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment