From f4d0428e3e68752009b14d7afa24668111e2bc04 Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Mon, 18 Mar 2013 12:48:06 -0400 Subject: [PATCH] course_detail a little more clean --- karmaworld/assets/css/global.css | 4 -- .../templates/courses/course_detail.html | 51 ++++++++----------- 2 files changed, 20 insertions(+), 35 deletions(-) diff --git a/karmaworld/assets/css/global.css b/karmaworld/assets/css/global.css index 967208c..3f64bcd 100644 --- a/karmaworld/assets/css/global.css +++ b/karmaworld/assets/css/global.css @@ -404,14 +404,10 @@ a.activity_target, a.activity_target:hover { padding: 20px 25px; margin: 15px 0 13px; - background-color: #c8cdb8; } .activity_details_callout_copy { - font-family: "MuseoSans-900"; - font-size: 12px; - color: #3a3a3a; line-height: 125%; } diff --git a/karmaworld/templates/courses/course_detail.html b/karmaworld/templates/courses/course_detail.html index e805784..ef96dea 100644 --- a/karmaworld/templates/courses/course_detail.html +++ b/karmaworld/templates/courses/course_detail.html @@ -35,7 +35,7 @@
@@ -56,6 +56,7 @@

+
@@ -65,11 +66,9 @@
+
-
-
-
-
+

@@ -97,15 +96,6 @@
{% endif %} -
-
-
- Latest uploaded notes -
-
-
- -
@@ -113,22 +103,27 @@ {% for note in course.note_set.all %}
-
-
- {{ note.uploaded_at|date:"gA" }} // {{ note.uploaded_at|date:"D M d o" }} -
+
{{ note.name }} - {% comment %} - - {{ note.owner.get_profile.get_name }} added {{ file.name }} - {% endcomment %}
+
+ {{ note.uploaded_at|date:"gA" }} // {{ note.uploaded_at|date:"D M d o" }} +
+ + + {% if note.tags.count > 0 %}
- {{ course.name }}//{{ course.school.name }} + Tags: + {% for tag in note.tags.all %} + {{ tag.name }} + {% endfor %}
+ {% endif %} + +
@@ -144,14 +139,8 @@
- {% comment %} - -
-
- So far, {{ note.numUpVotes }} people have completely fallen in love with with these notes. {{ note.viewCount }} people have viewed them. -
-
- {% endcomment %} + +
{% endfor %} -- 2.25.1