Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
code.vt.edu will be down for maintenance from 0530-0630 EDT Wednesday, March 26th
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
75e9ef12
Commit
75e9ef12
authored
12 years ago
by
Bridger Maxwell
Browse files
Options
Downloads
Patches
Plain Diff
The dashboard links to the about page for courses that haven't started yet.
parent
4ef84cb9
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/templates/dashboard.html
+8
-2
8 additions, 2 deletions
lms/templates/dashboard.html
with
8 additions
and
2 deletions
lms/templates/dashboard.html
+
8
−
2
View file @
75e9ef12
...
...
@@ -36,14 +36,20 @@
% for course in courses:
<article
class=
"my-course"
>
<a
href=
"${reverse('info', args=[course.id])}"
class=
"cover"
style=
"background-image: url('${course_image_url(course)}')"
>
<
%
if
course.has_started
()
:
course_target =
reverse('info',
args=
[course.id])
else:
course_target =
reverse('about_course',
args=
[course.id])
%
>
<a
href=
"${course_target}"
class=
"cover"
style=
"background-image: url('${course_image_url(course)}')"
>
<div
class=
"shade"
></div>
<div
class=
"arrow"
></div>
</a>
<section
class=
"info"
>
<hgroup>
<a
href=
"#"
class=
"university"
>
${get_course_about_section(course, 'university')}
</a>
<h3><a
href=
"${
reverse('info', args=[course.id])
}"
>
${get_course_about_section(course, "title")}
</a></h3>
<h3><a
href=
"${
course_target
}"
>
${get_course_about_section(course, "title")}
</a></h3>
</hgroup>
<section
class=
"course-status"
>
<p>
Class Starts -
<span>
9/2/2012
</span></div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment