diff options
author | Joar Wandborg <git@wandborg.com> | 2012-07-10 17:53:37 +0200 |
---|---|---|
committer | Joar Wandborg <git@wandborg.com> | 2012-07-10 18:13:02 +0200 |
commit | 51eb0267d901bafcc90879dadbc2b8616ecdc4f5 (patch) | |
tree | 864566efd685a1680a3a1f1445bc9bd158454794 /mediagoblin/templates | |
parent | 81d3c4cf1cee923c4b803a96b6f5628e9aa9b78d (diff) | |
download | mediagoblin-51eb0267d901bafcc90879dadbc2b8616ecdc4f5.tar.lz mediagoblin-51eb0267d901bafcc90879dadbc2b8616ecdc4f5.tar.xz mediagoblin-51eb0267d901bafcc90879dadbc2b8616ecdc4f5.zip |
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.
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r-- | mediagoblin/templates/mediagoblin/user_pages/processing_panel.html | 13 |
1 files changed, 12 insertions, 1 deletions
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() %} <table class="media_panel processing"> <tr> + <th>ID</th> <th>Title</th> <th>When submitted</th> <th>Status</th> </tr> {% for media_entry in processing_entries %} <tr> + <td>{{ media_entry._id }}</td> <td>{{ media_entry.title }}</td> <td>{{ media_entry.created.strftime("%m-%d-%Y %I:%M %p") }}</td> <td></td> @@ -51,15 +53,24 @@ <table class="media_panel failed"> <tr> + <th>ID</th> <th>Title</th> <th>When submitted</th> <th>Reason for failure</th> + <th>Failure metadata</th> </tr> {% for media_entry in failed_entries %} <tr> + <td>{{ media_entry._id }}</td> <td>{{ media_entry.title }}</td> - <td>{{ media_entry['created'].strftime("%m-%d-%Y %I:%M %p") }}</td> + <td>{{ media_entry.created.strftime("%m-%d-%Y %I:%M %p") }}</td> + {% if media_entry.get_fail_exception() %} <td>{{ media_entry.get_fail_exception().general_message }}</td> + <td>{{ media_entry.fail_metadata }}</td> + {% else %} + <td> </td> + <td> </td> + {% endif %} </tr> {% endfor %} </table> |