{% comment "License" %} % Copyright (c) 2018 ISP RAS (http://www.ispras.ru) % Ivannikov Institute for System Programming of the Russian Academy of Sciences % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % % http://www.apache.org/licenses/LICENSE-2.0 % % Unless required by applicable law or agreed to in writing, software % distributed under the License is distributed on an "AS IS" BASIS, % WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. % See the License for the specific language governing permissions and % limitations under the License. {% endcomment %} {% load humanize %} {% block body_block %} {% for upload_obj in object_list %} {{ upload_obj.name }} {{ upload_obj.get_status_display }}{% if upload_obj.step_progress %}: {{ upload_obj.step_progress }}%{% endif %} {% if user.data_format == 'hum' %} {{ upload_obj.start_date|naturaltime }} {% else %} {{ upload_obj.start_date }} {% endif %} {% if upload_obj.finish_date %} {% if user.data_format == 'hum' %} {{ upload_obj.finish_date|naturaltime }} {% else %} {{ upload_obj.finish_date }} {% endif %} {% else %} {% endif %} {% if upload_obj.job %}{{ upload_obj.job.name }}{% else %}{% endif %} {% if upload_obj.error %}{{ upload_obj.error }}{% else %}{% endif %} {% endfor %} {% endblock %}