Ticket #940: issue_940.patch

File issue_940.patch, 880 bytes (added by Rodrigo Rodrigues da Silva, 10 years ago)

Now the right patch

  • mediagoblin/templates/mediagoblin/media_displays/stl.html

    From f2a06dc5dd6773bf16c8fac65aee486bf76a7a7d Mon Sep 17 00:00:00 2001
    From: Rodrigo Rodrigues da Silva <rsilva@metamaquina.com.br>
    Date: Thu, 7 Aug 2014 14:57:35 -0300
    Subject: [PATCH] Add a template hook to stl sideinfo. Fixes #940.
    
    ---
     .../templates/mediagoblin/media_displays/stl.html  |    1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/mediagoblin/templates/mediagoblin/media_displays/stl.html b/mediagoblin/templates/mediagoblin/media_displays/stl.html
    index ca0479c..b7d0239 100644
    a b window.show_things = function () {  
    146146<p>{{ media.media_data.file_type }}</p>
    147147<h3>{% trans %}Object Height{% endtrans %}</h3>
    148148<p>~{{ media.media_data.height|int }} mm</p>
     149{% template_hook("stl_sideinfo") %}
    149150{% endblock %}