2 # GNU MediaGoblin -- federated, autonomous media hosting
3 # Copyright (C)
2011,
2012 MediaGoblin contributors. See AUTHORS.
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as published by
7 # the Free Software Foundation, either version
3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU Affero General Public License for more details.
15 # You should have received a copy of the GNU Affero General Public License
16 # along with this program. If not, see
<http://www.gnu.org/licenses
/>.
18 {% extends
"mediagoblin/base.html" %}
20 {% block mediagoblin_content %}
22 <h1>{% trans %}Media processing panel{% endtrans %}
</h1>
25 {% trans %}You can track the state of media being processed for your gallery here.{% endtrans %}
28 <h2>{% trans %}Media in-processing{% endtrans %}
</h2>
30 {% if processing_entries.count() %}
31 <table class=
"media_panel processing">
34 <th>When submitted
</th>
37 {% for media_entry in processing_entries %}
39 <td>{{ media_entry.title }}
</td>
40 <td>{{ media_entry.created.strftime(
"%m-%d-%Y %I:%M %p") }}
</td>
46 <p><i>{% trans %}No media in-processing{% endtrans %}
</i></p>
49 {% if failed_entries.count() %}
50 <h2>{% trans %}These uploads failed to process:{% endtrans %}
</h2>
52 <table class=
"media_panel failed">
55 <th>When submitted
</th>
56 <th>Reason for failure
</th>
58 {% for media_entry in failed_entries %}
60 <td>{{ media_entry.title }}
</td>
61 <td>{{ media_entry['created'].strftime(
"%m-%d-%Y %I:%M %p") }}
</td>
62 <td>{{ media_entry.get_fail_exception().general_message }}
</td>