From 14814f217af471538774a5861469af157735d893 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 3 Mar 2013 11:03:30 -0600 Subject: [PATCH] {% set %} the display_type and display_path and use that elsewhere This will make some stuff a bit cleaner that's coming up... This commit sponsored by J B Nicholson-Owens. Thanks! --- mediagoblin/templates/mediagoblin/media_displays/video.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/media_displays/video.html b/mediagoblin/templates/mediagoblin/media_displays/video.html index 2e33e1a3..06f5f226 100644 --- a/mediagoblin/templates/mediagoblin/media_displays/video.html +++ b/mediagoblin/templates/mediagoblin/media_displays/video.html @@ -27,13 +27,14 @@ {%- endblock %} {% block mediagoblin_media %} + {% set display_type, display_path = media.get_display_media() %} +