From e86e08ae741e03ff6949f9cda091318331a660bb Mon Sep 17 00:00:00 2001 From: vijeth-aradhya Date: Tue, 22 Aug 2017 13:35:44 +0530 Subject: [PATCH] Show default resolution progress in processing panel --- .../mediagoblin/user_pages/processing_panel.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/mediagoblin/templates/mediagoblin/user_pages/processing_panel.html b/mediagoblin/templates/mediagoblin/user_pages/processing_panel.html index ee7b646a..287bd6f2 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/processing_panel.html +++ b/mediagoblin/templates/mediagoblin/user_pages/processing_panel.html @@ -23,6 +23,7 @@ {% trans %}Media processing panel{% endtrans %} — {{ super() }} {%- endblock %} + {% block mediagoblin_content %}

{% trans %}Media processing panel{% endtrans %}

@@ -50,7 +51,8 @@ Show: Thumbnail Title When submitted - Transcoding progress + Total transcoding progress + Default resolution transcoding progress {% for media_entry in entries %} @@ -84,6 +86,11 @@ Show: {% else %} Unknown {% endif %} + {% if media_entry.main_transcoding_progress %} + {{ media_entry.main_transcoding_progress }}% + {% else %} + Unknown + {% endif %} {% endif %} {% endfor %} @@ -93,3 +100,4 @@ Show:

{% trans %}You have not uploaded anything yet!{% endtrans %}

{% endif %} {% endblock %} + -- 2.25.1