From 56c714f8fbc0d59935fc46158507fe5ff68f2ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20BRY?= Date: Tue, 9 Feb 2016 11:58:09 +0100 Subject: [PATCH] Show wildcard for empty schedule fields --- templates/task-editor.html | 12 ++++++------ templates/task-view.html | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/templates/task-editor.html b/templates/task-editor.html index c33878f..d0233c3 100644 --- a/templates/task-editor.html +++ b/templates/task-editor.html @@ -66,12 +66,12 @@

Schedule

- {{ schedule.month.join(',') }} - {{ schedule.week.join(',') }} - {{ schedule.dayofmonth.join(',') }} - {{ schedule.dayofweek.join(',') }} - {{ schedule.hour.join(',') }} - {{ schedule.minute.join(',') }} + {{ schedule.month.join(',') || '*' }} + {{ schedule.week.join(',') || '*' }} + {{ schedule.dayofmonth.join(',') || '*' }} + {{ schedule.dayofweek.join(',') || '*' }} + {{ schedule.hour.join(',') || '*' }} + {{ schedule.minute.join(',') || '*' }} diff --git a/templates/task-view.html b/templates/task-view.html index 62caca2..120c676 100644 --- a/templates/task-view.html +++ b/templates/task-view.html @@ -49,12 +49,12 @@

Schedule

- {{ schedule.month.join(',') }} - {{ schedule.week.join(',') }} - {{ schedule.dayofmonth.join(',') }} - {{ schedule.dayofweek.join(',') }} - {{ schedule.hour.join(',') }} - {{ schedule.minute.join(',') }} + {{ schedule.month.join(',') || '*' }} + {{ schedule.week.join(',') || '*' }} + {{ schedule.dayofmonth.join(',') || '*' }} + {{ schedule.dayofweek.join(',') || '*' }} + {{ schedule.hour.join(',') || '*' }} + {{ schedule.minute.join(',') || '*' }}