diff --git a/rocky/rocky/locale/nl/LC_MESSAGES/django.po b/rocky/rocky/locale/nl/LC_MESSAGES/django.po index 65f9de234f1..0fc1ae97c15 100644 --- a/rocky/rocky/locale/nl/LC_MESSAGES/django.po +++ b/rocky/rocky/locale/nl/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-21 09:43+0000\n" +"POT-Creation-Date: 2023-08-23 08:59+0000\n" "PO-Revision-Date: 2023-08-11 07:29+0000\n" "Last-Translator: Patrick \n" "Language-Team: Dutch \n" "Language-Team: LANGUAGE \n" @@ -4639,8 +4639,7 @@ msgstr "Selekshoná bo idioma" #, python-format msgid "" "Current language is %(current_language)s. Choose your preferred language." -msgstr "" -"Idioma aktual ta %(current_language)s. Escoge bo idioma preferí." +msgstr "Idioma aktual ta %(current_language)s. Escoge bo idioma preferí." #: rocky/templates/partials/list_filters.html msgid "Hide filter options" @@ -5055,14 +5054,14 @@ msgstr "Opheto di entrada" msgid "No input OOI" msgstr "No tin entrada OOI" -#: rocky/templates/tasks/boefjes.html -msgid "Download task data" -msgstr "Descarga datonan di tarea" - #: rocky/templates/tasks/boefjes.html rocky/templates/tasks/normalizers.html msgid "Reschedule" msgstr "Kambia fecha" +#: rocky/templates/tasks/boefjes.html rocky/templates/tasks/normalizers.html +msgid "Download task data" +msgstr "Descarga datonan di tarea" + #: rocky/templates/tasks/normalizers.html msgid "There are no tasks for normalizers" msgstr "No tin tareanan pa normalizers" diff --git a/rocky/rocky/templates/tasks/boefjes.html b/rocky/rocky/templates/tasks/boefjes.html index 9d893b6269a..61b4ce3e564 100644 --- a/rocky/rocky/templates/tasks/boefjes.html +++ b/rocky/rocky/templates/tasks/boefjes.html @@ -14,6 +14,7 @@

{% translate "Boefjes" %}

{% include "tasks/partials/task_filter.html" %} + {% if not object_list %}

{% translate "There are no tasks for boefjes" %}

{% else %} @@ -23,66 +24,65 @@

{% translate "Boefjes" %}

{% translate "List of tasks for " %}{{ organization.name }} - {% translate "Boefje" %} - {% translate "Status" %} - {% translate "Created date" %} - {% translate "Input Object" %} - {% translate "Details" %} + {% translate "Boefje" %} + {% translate "Status" %} + {% translate "Created date" %} + {% translate "Input Object" %} + {% translate "Details" %} {% for task in object_list %} - - {{ task.p_item.data.boefje.id }} - - {% if task.status.value == "completed" %} - - {{ task.status.value|capfirst }} - - {% elif task.status.value == "failed" %} - - {{ task.status.value|capfirst }} - - {% else %} - - {{ task.status.value|capfirst }} - - {% endif %} - {{ task.created_at }} - {% if task.p_item.data.input_ooi %} - - {{ task.p_item.data.input_ooi }} - - {% else %} - {% translate "No input OOI" %} - {% endif %} - - - + + {{ task.p_item.data.boefje.id }} + + {% if task.status.value == "completed" %} + + {{ task.status.value|capfirst }} + + {% elif task.status.value == "failed" %} + + {{ task.status.value|capfirst }} + + {% else %} + {{ task.status.value|capfirst }} + {% endif %} + {{ task.created_at }} + {% if task.p_item.data.input_ooi %} + + {{ task.p_item.data.input_ooi }} + + {% else %} + {% translate "No input OOI" %} + {% endif %} + + + - +
-
- {% if task.status.value in "completed,failed" %} - {% translate "Download meta and raw data" %} - {% else %} - {% translate "Download task data" %} - {% endif %} - {% if task.status.value == "completed" %} - {% include "partials/single_action_form.html" with btn_text=_("Reschedule") btn_class="ghost" btn_icon="icon ti-refresh" action="reschedule_task" key="task_id" value=task.id %} - {% endif %} -
+
+ {% if task.status.value in "completed,failed" %} + {% translate "Download meta and raw data" %} + {% include "partials/single_action_form.html" with btn_text=_("Reschedule") btn_class="ghost" btn_icon="icon ti-refresh" action="reschedule_task" key="task_id" value=task.id %} + + {% else %} + {% translate "Download task data" %} + {% endif %} +
- - + + {% endfor %} diff --git a/rocky/rocky/templates/tasks/normalizers.html b/rocky/rocky/templates/tasks/normalizers.html index 6f2a8cca369..240faef07ca 100644 --- a/rocky/rocky/templates/tasks/normalizers.html +++ b/rocky/rocky/templates/tasks/normalizers.html @@ -14,13 +14,13 @@

{% translate "Normalizers" %}

{% include "tasks/partials/task_filter.html" %} + {% if not object_list %}

{% translate "There are no tasks for normalizers" %}

{% else %}

{% translate "List of tasks for normalizers" %}

-
- +
@@ -35,75 +35,75 @@

{% translate "Normalizers" %}

{% for task in object_list %} - + {% if task.status.value == "completed" %} - + {% elif task.status.value == "failed" %} - + {% else %} - + {% endif %} - + {% if task.p_item.data.raw_data.boefje_meta.input_ooi %} - + {% else %} - + {% endif %} - + - + {% endfor %}
{% translate "List of tasks for " %}{{ organization.name }}
- {{ task.p_item.data.normalizer.id }} - {{ task.p_item.data.normalizer.id }}{{ task.status.value|capfirst }}{{ task.status.value|capfirst }}{{ task.status.value|capfirst }}{{ task.status.value|capfirst }}{{ task.status.value|capfirst }}{{ task.status.value|capfirst }} - {{ task.created_at }} - {{ task.created_at }} {{ task.p_item.data.raw_data.boefje_meta.boefje.id }} - - {{ task.p_item.data.raw_data.boefje_meta.input_ooi }} - - + + {{ task.p_item.data.raw_data.boefje_meta.input_ooi }} + + {% translate "No input OOI" %}{% translate "No input OOI" %} - - + +
-
-
-

- {% translate "Yielded objects" %} -

-
-
-
-
-
-
- {% translate "Download meta and raw data" %} - {% if task.status.value == "completed" %} - {% include "partials/single_action_form.html" with btn_text=_("Reschedule") btn_class="ghost" btn_icon="icon ti-refresh" action="reschedule_task" key="task_id" value=task.id %} - {% endif %} -
-
-
-
+
+
+

{% translate "Yielded objects" %}

+
+
+
+
+
+
+ {% if task.status.value in "completed,failed" %} + {% translate "Download meta and raw data" %} + {% include "partials/single_action_form.html" with btn_text=_("Reschedule") btn_class="ghost" btn_icon="icon ti-refresh" action="reschedule_task" key="task_id" value=task.id %} + + {% else %} + {% translate "Download task data" %} + {% endif %} +
+
+
+
{% include "partials/list_paginator.html" %} + {% endif %} {% endblock content %} - {% block html_at_end_body %} {{ block.super }} - + {% endblock html_at_end_body %}