{% comment "License" %} % Copyright (c) 2019 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 i18n %} {% load tz %} {% load humanize %}
{% if core_link %} {% trans 'Decision' %} ({{ decision.get_status_display }}) {% else %}
{% trans 'Decision' %} ({{ decision.get_status_display }})
{% endif %} {% if decision.error %}
{{ decision.error|safe }}
{% endif %}
{% trans 'Start decision date' %}
{{ progress.start_date }}
{% trans 'Finish decision date' %}
{{ progress.finish_date }}
{% if progress.total_sj or progress.progress_sj %}

{% trans 'Subjobs decision progress' %}

{% if progress.total_sj %}
{% trans 'Total subjobs to be solved' %}
{{ progress.total_sj }}
{% endif %} {% if progress.progress_sj %}
{% trans 'Start solution date' %}
{{ progress.progress_sj.start }}
{% if progress.progress_sj.expected_time %}
{% trans 'Expected solution time' %}
{{ progress.progress_sj.expected_time }}
{% endif %} {% endif %}
{% if progress.progress_sj %}
{% trans 'Solution progress' %}
{{ progress.progress_sj.progress }}
{% trans 'Finish solution date' %}
{{ progress.progress_sj.finish }}
{% endif %}
{% endif %}

{% trans 'Tasks decision progress' %}

{% if progress.total_ts or progress.progress_ts %}
{% if progress.total_ts %}
{% trans 'Total tasks to be solved' %}
{{ progress.total_ts }}
{% endif %} {% if progress.progress_ts %}
{% trans 'Start solution date' %}
{{ progress.progress_ts.start }}
{% if progress.progress_ts.expected_time %}
{% trans 'Expected solution time' %}
{{ progress.progress_ts.expected_time }}
{% endif %} {% endif %}
{% endif %}
{% if progress.progress_ts %}
{% trans 'Solution progress' %}
{{ progress.progress_ts.progress }}
{% trans 'Finish solution date' %}
{{ progress.progress_ts.finish }}
{% endif %}