Updated media detail view to linkify the tags. Adjusted tag link styling.

This commit is contained in:
Christopher Allan Webber 2011-07-31 20:48:13 -05:00
parent 71454fd351
commit 5d90064790
2 changed files with 13 additions and 0 deletions

View File

@ -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;
}

View File

@ -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 %}