Adding a template hook to the dropdown header
authorRodrigo Rodrigues da Silva <rsilva@metamaquina.com.br>
Thu, 5 Jun 2014 20:07:25 +0000 (17:07 -0300)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 10 Jun 2014 16:49:41 +0000 (11:49 -0500)
mediagoblin/templates/mediagoblin/base.html

index 28b9c63c4b4d47ad7e37c96fccb31625b6d5d937..ffc471d2a5d6a2ecc58d58ec872fecaa854806ff 100644 (file)
                 <a class="button_action" href="{{ request.urlgen('mediagoblin.submit.collection') }}">
                   {%- trans %}Create new collection{% endtrans -%}
                 </a>
+                {% template_hook("header_dropdown_buttons") %}
                 {% if request.user.has_privilege('admin','moderator') %}
                   <p>
                     <span class="dropdown_title">Moderation powers:</span>