diff options
author | Caleb Forbes Davis V <caldavis@gmail.com> | 2011-07-12 22:26:10 -0500 |
---|---|---|
committer | Caleb Forbes Davis V <caldavis@gmail.com> | 2011-07-12 22:43:26 -0500 |
commit | 6f2e4585cc7475362205a9ddb0e69d6da2b6dc85 (patch) | |
tree | 17bef36aa8a5ee3d15785495884fb3768ded52e0 /mediagoblin/templates | |
parent | 93e3468a2af92a623a659628a20605025cea9ca7 (diff) | |
download | mediagoblin-6f2e4585cc7475362205a9ddb0e69d6da2b6dc85.tar.lz mediagoblin-6f2e4585cc7475362205a9ddb0e69d6da2b6dc85.tar.xz mediagoblin-6f2e4585cc7475362205a9ddb0e69d6da2b6dc85.zip |
uses standard functions instead of form filters and fixes taglist default
- seems simpler to use the same tag field processing procedures on media
submit and edit, so now processing with a regular function instead of
a form filter. Filters run on form load and post by default.
- moved tags to sidebar
- taglist defaults to [] instead of None
- adds case sensitivity toggle
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r-- | mediagoblin/templates/mediagoblin/user_pages/media.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 1c263880..47d5db35 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -48,10 +48,6 @@ user= media.uploader().username) }}"> {{- media.uploader().username }}</a> </p> - - <p> - {{ ' '.join(media.tags) }} - </p> <br /> <h3>Comments</h3> @@ -114,6 +110,11 @@ </p> {% endif %} </p> + {% if media.tags %} + <p> + {{ ' '.join(media.tags) }} + </p> + {% endif %} </div> {% else %} <p>Sorry, no such media found.<p/> |