{# # GNU MediaGoblin -- federated, autonomous media hosting # Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . #} {% extends "mediagoblin/base.html" %} {% from "mediagoblin/utils/pagination.html" import render_pagination %} {% block title -%} {% trans %}Media processing panel{% endtrans %} — {{ super() }} {%- endblock %} {% block mediagoblin_content %}

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

{% trans %}You can track the state of media being processed for your gallery here.{% endtrans %}

Show: All, In processing, Failed, Successful

{% if entries.count() %} {{ render_pagination(request, pagination) }} {% for media_entry in entries %} {% if media_entry.state == 'processed' %} {% set entry_url = media_entry.url_for_self(request.urlgen) %} {% else %} {% if media_entry.transcoding_progress %} {% else %} {% endif %} {% endif %} {% endfor %}
Thumbnail Title When submitted Transcoding progress
{{ media_entry.title }} {{ media_entry.created.strftime("%F %R") }} Ready
{{ media_entry.title }} {% if media_entry.state == 'processing' %}
Processing...
{% elif media_entry.state == 'failed' %}
Failed!
{% endif %}
{{ media_entry.title }} {{ media_entry.created.strftime("%F %R") }}{{ media_entry.transcoding_progress }}%Unknown
{{ render_pagination(request, pagination) }} {% else %}

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

{% endif %} {% endblock %}