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
c16d8db1
Unverified
Commit
c16d8db1
authored
7 years ago
by
Matt Tuchfarber
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16549 from edx/tuchfarber/program_marketing_tweaks_2
Fix URLs in program marketing page
parents
aa1f3df3
056c30b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
lms/templates/courseware/program_marketing.html
+5
-3
No files found.
lms/templates/courseware/program_marketing.html
View file @
c16d8db1
...
...
@@ -271,6 +271,8 @@ endorser_org = endorser_position.get('organization_name') or corporate_endorseme
<
%
course_run =
course['course_runs'][0]
course_img =
course_run.get('image')
course_about_url =
reverse('about_course',
args=
[course_run['key']])
course_purchase_url =
course_run['upgrade_url']
if
course_run
['
upgrade_url
']
else
course_about_url
%
>
<div
class=
"row course"
>
<div
class=
"col-3 col-lg-2 course-image"
>
...
...
@@ -280,11 +282,11 @@ endorser_org = endorser_position.get('organization_name') or corporate_endorseme
</div>
<div
class=
"col-9 col-lg-6"
>
<div>
<a
href=
"${course_
run['course_url']
}"
>
${course_run['title']}
</a>
<a
href=
"${course_
about_url
}"
>
${course_run['title']}
</a>
</div>
<div>
${course_run['short_description']}
</div>
<div>
<a
href=
"${course_
run['course_url']
}"
>
${_('Learn More')}
</a>
<a
href=
"${course_
about_url
}"
>
${_('Learn More')}
</a>
</div>
</div>
<div
class=
"col-12 col-lg-4 course-enroll"
>
...
...
@@ -296,7 +298,7 @@ endorser_org = endorser_position.get('organization_name') or corporate_endorseme
% if program.get('is_learner_eligible_for_one_click_purchase') != True:
% if course_run['is_enrollment_open'] and course_run['can_enroll'] and not course_run['is_course_ended']:
<div>
<a
class=
"btn btn-primary btn-block btn-success"
href=
"${course_
run['course_url']}about
"
>
Enroll Now
</a>
<a
class=
"btn btn-primary btn-block btn-success"
href=
"${course_
purchase_url}
"
>
Enroll Now
</a>
</div>
% else:
<div>
...
...
This diff is collapsed.
Click to expand it.
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