Show default resolution progress in processing panel
authorvijeth-aradhya <vijthaaa@gmail.com>
Tue, 22 Aug 2017 08:05:44 +0000 (13:35 +0530)
committervijeth-aradhya <vijthaaa@gmail.com>
Tue, 22 Aug 2017 08:05:44 +0000 (13:35 +0530)
mediagoblin/templates/mediagoblin/user_pages/processing_panel.html

index ee7b646a636fb46df1de6a4c27e4d05d173395da..287bd6f22a4c05210eb40da94e58c4b91855cdf1 100644 (file)
@@ -23,6 +23,7 @@
   {% trans %}Media processing panel{% endtrans %} &mdash; {{ super() }}
 {%- endblock %}
 
+
 {% block mediagoblin_content %}
 
 <h1>{% trans %}Media processing panel{% endtrans %}</h1>
@@ -50,7 +51,8 @@ Show:
       <th width="210">Thumbnail</th>
       <th>Title</th>
       <th width="20%">When submitted</th>
-      <th width="200">Transcoding progress</th>
+      <th width="200">Total transcoding progress</th>
+      <th width="200">Default resolution transcoding progress</th>
     </tr>
     {% for media_entry in entries %}
       <tr>
@@ -84,6 +86,11 @@ Show:
         {% else %}
         <td>Unknown</td>
         {% endif %}
+        {% if media_entry.main_transcoding_progress %}
+        <td>{{ media_entry.main_transcoding_progress }}%</td>
+        {% else %}
+        <td>Unknown</td>
+        {% endif %}
       {% endif %}
       </tr>
     {% endfor %}
@@ -93,3 +100,4 @@ Show:
   <p><em>{% trans %}You have not uploaded anything yet!{% endtrans %}</em></p>
 {% endif %}  
 {% endblock %}
+