Ticket #805: media_titleinfo.patch

File media_titleinfo.patch, 848 bytes (added by Michael Müller, 11 years ago)
  • mediagoblin/templates/mediagoblin/user_pages/media.html

    From 645623a7e8b3e853caf44b8a89ed0cd29090c9da Mon Sep 17 00:00:00 2001
    From: cmichi <mich@elmueller.net>
    Date: Sun, 20 Oct 2013 14:44:13 +0200
    Subject: [PATCH] added template_hook media_titleinfo
    
    ---
     mediagoblin/templates/mediagoblin/user_pages/media.html | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
    index 81e5013..f2649f5 100644
    a b  
    7070    <h2 class="media_title">
    7171      {{ media.title }}
    7272    </h2>
     73    {% template_hook("media_titleinfo") %}
    7374    {% if request.user and
    7475          (media.uploader == request.user.id or
    7576           request.user.has_privilege('admin')) %}