X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=mediagoblin%2Ftemplates%2Fmediagoblin%2Futils%2Fobject_gallery.html;h=e1b8cc9bafc93b0295c9558adc022cbc594006a1;hb=b9e1fa280edfff4daf424bbcf51bd651ed00f411;hp=2c7a71293ad78814e8eeb7a2f6187dd9b53430ad;hpb=51ca54a8356cb6c628a565693702616067af0bda;p=mediagoblin.git diff --git a/mediagoblin/templates/mediagoblin/utils/object_gallery.html b/mediagoblin/templates/mediagoblin/utils/object_gallery.html index 2c7a7129..e1b8cc9b 100644 --- a/mediagoblin/templates/mediagoblin/utils/object_gallery.html +++ b/mediagoblin/templates/mediagoblin/utils/object_gallery.html @@ -1,6 +1,6 @@ {# # GNU MediaGoblin -- federated, autonomous media hosting -# Copyright (C) 2011 Free Software Foundation, Inc +# Copyright (C) 2011 MediaGoblin contributors. See AUTHORS. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -18,20 +18,57 @@ {% from "mediagoblin/utils/pagination.html" import render_pagination %} -{% block object_gallery_content -%} - {% if media_entries %} - {% for entry in media_entries %} -
+
+
+
+ {% if entry['title'] %}
+ + {{ entry['title'] }} + {% endif %} + |
+ {% endfor %}
+
+ There doesn't seem to be any media here yet... +
{% endif %} -{% endblock %} +{% endmacro %}