From 51eb0267d901bafcc90879dadbc2b8616ecdc4f5 Mon Sep 17 00:00:00 2001 From: Joar Wandborg Date: Tue, 10 Jul 2012 17:53:37 +0200 Subject: Minor improvements to the processing panel - It is now possible to actually see what's processing, due to a bug fix where __getitem__ was called on the db model. - Removed DEPRECATED message from the docstring, it wasn't true. --- .../templates/mediagoblin/user_pages/processing_panel.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'mediagoblin/templates') diff --git a/mediagoblin/templates/mediagoblin/user_pages/processing_panel.html b/mediagoblin/templates/mediagoblin/user_pages/processing_panel.html index 65549860..e868456b 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/processing_panel.html +++ b/mediagoblin/templates/mediagoblin/user_pages/processing_panel.html @@ -30,12 +30,14 @@ {% if processing_entries.count() %} + {% for media_entry in processing_entries %} + @@ -51,15 +53,24 @@
ID Title When submitted Status
{{ media_entry._id }} {{ media_entry.title }} {{ media_entry.created.strftime("%m-%d-%Y %I:%M %p") }}
+ + {% for media_entry in failed_entries %} + - + + {% if media_entry.get_fail_exception() %} + + {% else %} + + + {% endif %} {% endfor %}
ID Title When submitted Reason for failureFailure metadata
{{ media_entry._id }} {{ media_entry.title }}{{ media_entry['created'].strftime("%m-%d-%Y %I:%M %p") }}{{ media_entry.created.strftime("%m-%d-%Y %I:%M %p") }}{{ media_entry.get_fail_exception().general_message }}{{ media_entry.fail_metadata }}  
-- cgit v1.2.3