aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2014-10-30 11:14:59 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2014-10-30 11:15:19 -0500
commitaa50cab0dcfcdc3606893b6cbded4227190f8980 (patch)
treebb949a011a660f25802aebaa0bd2fc679e7d8a73
parentbc2c06a10d9c15ec161f51e8d942cb2e5028ce47 (diff)
downloadmediagoblin-aa50cab0dcfcdc3606893b6cbded4227190f8980.tar.lz
mediagoblin-aa50cab0dcfcdc3606893b6cbded4227190f8980.tar.xz
mediagoblin-aa50cab0dcfcdc3606893b6cbded4227190f8980.zip
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!
-rw-r--r--mediagoblin/templates/mediagoblin/base.html1
1 files changed, 1 insertions, 0 deletions
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 %}
</div>
<div class="header_right">
+ {% template_hook("header_extra") %}
{%- if request.user %}
{% if request.user and
request.user.has_privilege('active') and