From: Christopher Allan Webber Date: Thu, 30 Oct 2014 16:14:59 +0000 (-0500) Subject: Template hook to allow plugin authors to add extra things to the header X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=aa50cab0dcfcdc3606893b6cbded4227190f8980;p=mediagoblin.git 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! --- diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index 16a0d4f6..ddc38b3e 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -72,6 +72,7 @@ {% block mediagoblin_header_title %}{% endblock %}
+ {% template_hook("header_extra") %} {%- if request.user %} {% if request.user and request.user.has_privilege('active') and