From 07fd35f3f17a6b1fac3c7f064f2864780673c646 Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Thu, 18 Apr 2013 12:42:33 -0400 Subject: [PATCH] adding link to course with course url, and css styles, fixes #98 --- karmaworld/assets/css/global.css | 8 ++++++++ karmaworld/templates/courses/course_detail.html | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/karmaworld/assets/css/global.css b/karmaworld/assets/css/global.css index afb432e..64b7b5a 100644 --- a/karmaworld/assets/css/global.css +++ b/karmaworld/assets/css/global.css @@ -738,6 +738,14 @@ p.text a font-size: 22px; } +#course_name a { + color: black; +} + +#course_name:hover a{ + text-decoration: underline; +} + .doubleline { border: dotted black; diff --git a/karmaworld/templates/courses/course_detail.html b/karmaworld/templates/courses/course_detail.html index 04e050c..8ef92b3 100644 --- a/karmaworld/templates/courses/course_detail.html +++ b/karmaworld/templates/courses/course_detail.html @@ -41,7 +41,13 @@
+ {% if course.url %} + + {{ course.name }} + + {% else %} {{ course.name }} + {% endif %}
-- 2.25.1