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...
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">
</div>
{% endif %}
{% endif %}
+ {% template_hook("user_profile") %}
<div class="clear"></div>
{% endblock %}