From: Christopher Allan Webber
Date: Fri, 19 Aug 2011 00:57:24 +0000 (-0500)
Subject: Switch "atom feed" to "Atom feed" and made the icons and text separate links
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=66a65c9c4c8ef08a7a8ab7935259c749fa7b9d51;p=mediagoblin.git
Switch "atom feed" to "Atom feed" and made the icons and text separate links
Before doing the latter there was an ugly underline spanning the icon
and the text.
---
diff --git a/mediagoblin/templates/mediagoblin/listings/tag.html b/mediagoblin/templates/mediagoblin/listings/tag.html
index d047096b..f36f3df4 100644
--- a/mediagoblin/templates/mediagoblin/listings/tag.html
+++ b/mediagoblin/templates/mediagoblin/listings/tag.html
@@ -36,11 +36,13 @@
{% endblock %}
diff --git a/mediagoblin/templates/mediagoblin/user_pages/gallery.html b/mediagoblin/templates/mediagoblin/user_pages/gallery.html
index ff935ac4..6acee9ef 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/gallery.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/gallery.html
@@ -37,16 +37,19 @@
{%- endtrans %}
-
{{ object_gallery(request, media_entries, pagination) }}
+
{% else %}
{# This *should* not occur as the view makes sure we pass in a user. #}
diff --git a/mediagoblin/templates/mediagoblin/user_pages/user.html b/mediagoblin/templates/mediagoblin/user_pages/user.html
index f189ed94..56f6503c 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/user.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/user.html
@@ -113,11 +113,14 @@
View all of {{ username }}'s media{% endtrans -%}
- {%- trans %}atom feed{% endtrans -%}
+ {% set feed_url = request.urlgen(
+ 'mediagoblin.user_pages.atom_feed',
+ user=user.username) %}
+
+
+ {%- trans %}Atom feed{% endtrans -%}