aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-07-31 20:48:13 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-07-31 20:48:13 -0500
commit5d9006479088ecadcc4dcef14a9d8ccb0e4227f3 (patch)
tree9228113c111d33ad2c9b1a5a2cd1971abbcb549f
parent71454fd351bcc18662168bd89d6876ea498c3715 (diff)
downloadmediagoblin-5d9006479088ecadcc4dcef14a9d8ccb0e4227f3.tar.lz
mediagoblin-5d9006479088ecadcc4dcef14a9d8ccb0e4227f3.tar.xz
mediagoblin-5d9006479088ecadcc4dcef14a9d8ccb0e4227f3.zip
Updated media detail view to linkify the tags. Adjusted tag link styling.
-rw-r--r--mediagoblin/static/css/base.css10
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/media.html3
2 files changed, 13 insertions, 0 deletions
diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css
index 70db6da9..c84fe047 100644
--- a/mediagoblin/static/css/base.css
+++ b/mediagoblin/static/css/base.css
@@ -275,3 +275,13 @@ ul.mediagoblin_messages {
background-color: #f7f7f7;
color: #272727;
}
+
+ul.mediaentry_tags {
+ list-style-type: none;
+}
+
+ul.mediaentry_tags li {
+ display: inline;
+ margin: 0px 5px 0px 0px;
+ padding: 0px;
+}
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 7622d6e6..353cf91c 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -97,9 +97,11 @@
media = media._id)) }}
</div>
{% endif %}
+
<div class="grid_5 omega">
{% include "mediagoblin/utils/prev_next.html" %}
<h3>Sidebar content here!</h3>
+
<p>
{% if media['uploader'] == request.user['_id'] or
request.user['is_admin'] %}
@@ -116,6 +118,7 @@
</p>
{% endif %}
</p>
+
{% if media.tags %}
{% include "mediagoblin/utils/tags.html" %}
{% endif %}