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...
This commit is contained in:
Sebastian Spaeth 2013-12-12 18:12:13 +01:00
parent 461cd7c10d
commit fcdc976ffd

View File

@ -111,11 +111,6 @@
href="{{ request.urlgen('mediagoblin.submit.start') }}">
{%- trans %}Add media{% endtrans -%}
</a>
{% set feed_url = request.urlgen(
'mediagoblin.user_pages.atom_feed',
user=user.username) %}
{% template_hook("user_profile") %}
{% include "mediagoblin/utils/feed_link.html" %}
</div>
{% else %}
<div class="profile_showcase empty_space">
@ -127,5 +122,6 @@
</div>
{% endif %}
{% endif %}
{% template_hook("user_profile") %}
<div class="clear"></div>
{% endblock %}