From 3c7049839494d77c578daa6e3b6c6c1c4e00385c Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Mon, 11 Jan 2021 15:11:39 +0100 Subject: [PATCH] =?UTF-8?q?Jobs:=20Drobnosti=20ve=20formulac=C3=ADch=20tex?= =?UTF-8?q?t=C5=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mo/db.py | 4 ++-- mo/web/templates/org_jobs.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mo/db.py b/mo/db.py index fe74c771..a22b5e67 100644 --- a/mo/db.py +++ b/mo/db.py @@ -477,8 +477,8 @@ class JobState(MOEnum): job_state_names = { JobState.ready: 'čeká na spuštění', JobState.running: 'zpracovává se', - JobState.done: 'dokončen', - JobState.failed: 'selhal', + JobState.done: 'dokončena', + JobState.failed: 'selhala', } diff --git a/mo/web/templates/org_jobs.html b/mo/web/templates/org_jobs.html index 6128122f..6c13071d 100644 --- a/mo/web/templates/org_jobs.html +++ b/mo/web/templates/org_jobs.html @@ -16,7 +16,7 @@ dávku po stažení výstupu smažete sami – šetří to místo na serveru. <tr> <th>ID <th>Název - <th>Spuštěno + <th>Spuštěna <th>Stav <th>Vyprší {% if g.user.is_admin %}<th>Vlastník{% endif %} -- GitLab