From 5d9006479088ecadcc4dcef14a9d8ccb0e4227f3 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 31 Jul 2011 20:48:13 -0500 Subject: [PATCH] Updated media detail view to linkify the tags. Adjusted tag link styling. --- mediagoblin/static/css/base.css | 10 ++++++++++ .../templates/mediagoblin/user_pages/media.html | 3 +++ 2 files changed, 13 insertions(+) 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)) }} {% endif %} +
{% include "mediagoblin/utils/prev_next.html" %}

Sidebar content here!

+

{% if media['uploader'] == request.user['_id'] or request.user['is_admin'] %} @@ -116,6 +118,7 @@

{% endif %}

+ {% if media.tags %} {% include "mediagoblin/utils/tags.html" %} {% endif %} -- 2.25.1