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
fc6cb502
Commit
fc6cb502
authored
Oct 21, 2014
by
Tim Babych
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TNL-281: reduce amount of JS in marketing iframe
parent
0d36dd72
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
lms/templates/courseware/mktg_course_about.html
+7
-1
lms/templates/mktg_iframe.html
+1
-2
No files found.
lms/templates/courseware/mktg_course_about.html
View file @
fc6cb502
...
...
@@ -52,7 +52,13 @@
<div
class=
"action is-registered"
>
${_("You Are Enrolled")}
</div>
%endif
%elif allow_registration:
<a
class=
"action action-register register ${'has-option-verified' if len(course_modes) > 1 else ''}"
href=
"#"
>
${_("Enroll in")}
<strong>
${course.display_number_with_default | h}
</strong>
<a
class=
"action action-register register ${'has-option-verified' if len(course_modes) > 1 else ''}"
%
if
user
.
is_authenticated
()
:
href=
"${reverse('about_course', args=[course.id.to_deprecated_string()])}"
%
else:
href=
"${reverse('register_user')}?course_id=${course.id | u}&enrollment_action=enroll"
%
endif
>
${_("Enroll in")}
<strong>
${course.display_number_with_default | h}
</strong>
%if len(course_modes) > 1:
<span
class=
"track"
>
## Translators: This is the second line on a button users can click. The first line is "Enroll in COURSE_NAME"
...
...
lms/templates/mktg_iframe.html
View file @
fc6cb502
...
...
@@ -13,8 +13,7 @@
<
%
static:css
group=
'style-vendor'
/>
<
%
static:css
group=
'style-app'
/>
<
%
static:js
group=
'main_vendor'
/>
<
%
static:js
group=
'base_vendor'
/>
<!--[if lt IE 9]>
<script src="${static.url('js/html5shiv.js')}"></script>
...
...
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