Ticket #907: issue_907.patch

File issue_907.patch, 1021 bytes (added by Rodrigo Rodrigues da Silva, 10 years ago)
  • mediagoblin/templates/mediagoblin/base.html

    From 862a1c7d5299ee00f4e96c92618703a230ef9654 Mon Sep 17 00:00:00 2001
    From: Rodrigo Rodrigues da Silva <rsilva@metamaquina.com.br>
    Date: Thu, 5 Jun 2014 17:07:25 -0300
    Subject: [PATCH] Adding a template hook to the dropdown header
    
    ---
     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 28b9c63..ffc471d 100644
    a b  
    151151                <a class="button_action" href="{{ request.urlgen('mediagoblin.submit.collection') }}">
    152152                  {%- trans %}Create new collection{% endtrans -%}
    153153                </a>
     154                {% template_hook("header_dropdown_buttons") %}
    154155                {% if request.user.has_privilege('admin','moderator') %}
    155156                  <p>
    156157                    <span class="dropdown_title">Moderation powers:</span>