From fcdc976ffd27bc2b93ec8e2997fc0884b2a0b480 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Thu, 12 Dec 2013 18:12:13 +0100 Subject: [PATCH] Add the profile_hook in case of user with or without media the hook was only run in case the user had no media uploaded yet. This does not make any sense, so we run the hook in all cases now. The designers might have to think about the placement of the stuff being inserted at some point... --- mediagoblin/templates/mediagoblin/user_pages/user.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/user_pages/user.html b/mediagoblin/templates/mediagoblin/user_pages/user.html index d554b7e8..14a67431 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/user.html +++ b/mediagoblin/templates/mediagoblin/user_pages/user.html @@ -111,11 +111,6 @@ href="{{ request.urlgen('mediagoblin.submit.start') }}"> {%- trans %}Add media{% endtrans -%} - {% set feed_url = request.urlgen( - 'mediagoblin.user_pages.atom_feed', - user=user.username) %} - {% template_hook("user_profile") %} - {% include "mediagoblin/utils/feed_link.html" %} {% else %}
@@ -127,5 +122,6 @@
{% endif %} {% endif %} + {% template_hook("user_profile") %}
{% endblock %} -- 2.25.1