Template hook to allow plugin authors to add extra things to the header

Thanks to Andrew Browning for requesting this and suggesting where to
put it!
This commit is contained in:
Christopher Allan Webber 2014-10-30 11:14:59 -05:00
parent bc2c06a10d
commit aa50cab0dc

View File

@ -72,6 +72,7 @@
{% block mediagoblin_header_title %}{% endblock %}
</div>
<div class="header_right">
{% template_hook("header_extra") %}
{%- if request.user %}
{% if request.user and
request.user.has_privilege('active') and