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
6b093cf3
Commit
6b093cf3
authored
Sep 05, 2012
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quick fix for prod issue -- making view courseware link from course about page always work.
parent
b84a9ffe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lms/templates/portal/course_about.html
+2
-2
No files found.
lms/templates/portal/course_about.html
View file @
6b093cf3
...
@@ -71,14 +71,14 @@
...
@@ -71,14 +71,14 @@
course_target =
reverse('about_course',
args=
[course.id])
course_target =
reverse('about_course',
args=
[course.id])
show_link =
settings.MITX_FEATURES.get('ENABLE_LMS_MIGRATION')
show_link =
settings.MITX_FEATURES.get('ENABLE_LMS_MIGRATION')
%
>
%
>
%if show_link:
%if show_link
or show_courseware_link
:
<a
href=
"${course_target}"
>
<a
href=
"${course_target}"
>
%endif
%endif
<span
class=
"register disabled"
>
You are registered for this course (${course.number})
</span>
<span
class=
"register disabled"
>
You are registered for this course (${course.number})
</span>
% if show_courseware_link:
% if show_courseware_link:
<strong>
View Courseware
</strong>
<strong>
View Courseware
</strong>
% endif
% endif
%if show_link:
%if show_link
or show_courseware_link
:
</a>
</a>
%endif
%endif
%else:
%else:
...
...
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