From: Christopher Allan Webber Date: Thu, 20 Jun 2013 23:14:14 +0000 (-0500) Subject: Indenting some stuff in pdf.html and wrapping width and height parameters in quotes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=92b22e7deac547835f69168f97012b52e87b6de4;p=mediagoblin.git Indenting some stuff in pdf.html and wrapping width and height parameters in quotes --- diff --git a/mediagoblin/templates/mediagoblin/media_displays/pdf.html b/mediagoblin/templates/mediagoblin/media_displays/pdf.html index e946f3ab..9319e87c 100644 --- a/mediagoblin/templates/mediagoblin/media_displays/pdf.html +++ b/mediagoblin/templates/mediagoblin/media_displays/pdf.html @@ -46,19 +46,21 @@ {%- endblock %} {% block mediagoblin_media %} -{% if pdf_js %} - - -{% else %} - - {% trans media_title=media.title -%} Image for {{ media_title}}{% endtrans %} - -{% endif %} + {% if pdf_js %} + + {% else %} + + 
+           {%- trans media_title=media.title -%}
+             Image for {{ media_title}}
+           {%- endtrans %} + + {% endif %} {% endblock %} {% block mediagoblin_sidebar %}