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:
@@ -72,6 +72,7 @@
|
|||||||
{% block mediagoblin_header_title %}{% endblock %}
|
{% block mediagoblin_header_title %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
<div class="header_right">
|
<div class="header_right">
|
||||||
|
{% template_hook("header_extra") %}
|
||||||
{%- if request.user %}
|
{%- if request.user %}
|
||||||
{% if request.user and
|
{% if request.user and
|
||||||
request.user.has_privilege('active') and
|
request.user.has_privilege('active') and
|
||||||
|
|||||||
Reference in New Issue
Block a user