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:
parent
461cd7c10d
commit
fcdc976ffd
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user