From aa50cab0dcfcdc3606893b6cbded4227190f8980 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Thu, 30 Oct 2014 11:14:59 -0500 Subject: [PATCH] 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! --- mediagoblin/templates/mediagoblin/base.html | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1