fixed bug
This commit is contained in:
parent
3731c7aa6d
commit
280f0c59fc
2 changed files with 8 additions and 4 deletions
|
@ -13,8 +13,13 @@
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<tr class="pointer" onclick="window.location='/watch/view/{{ .ID }}'">
|
<tr class="pointer" onclick="window.location='/watch/view/{{ .ID }}'">
|
||||||
<td class="h3">{{ .Name }}</td>
|
<td class="h3">{{ .Name }}</td>
|
||||||
<td class="h3">{{ .CronEntry.Prev.Format "2006-01-02 15:04:05" }}</td>
|
{{ if .CronEntry }}
|
||||||
<td class="h3">{{ .CronEntry.Next.Format "2006-01-02 15:04:05" }}</td>
|
<td class="h3">{{ .CronEntry.Prev.Format "2006-01-02 15:04:05" }}</td>
|
||||||
|
<td class="h3">{{ .CronEntry.Next.Format "2006-01-02 15:04:05" }}</td>
|
||||||
|
|
||||||
|
{{ else }}
|
||||||
|
<td class="h3" colspan="2">No schedule (Add cron filter)</td>
|
||||||
|
{{ end }}
|
||||||
<td>
|
<td>
|
||||||
<a href="/watch/edit/{{ .ID }}" class="btn btn-success">Edit</a>
|
<a href="/watch/edit/{{ .ID }}" class="btn btn-success">Edit</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
3
todo.md
3
todo.md
|
@ -3,5 +3,4 @@
|
||||||
- condition filters have var1 pointing to other filter?
|
- condition filters have var1 pointing to other filter?
|
||||||
- header/post body for get url ?
|
- header/post body for get url ?
|
||||||
- add toast when editing to replace notify ?
|
- add toast when editing to replace notify ?
|
||||||
- unescape notify string
|
- unescape notify string
|
||||||
- fix bug when no cron job for watch
|
|
Loading…
Add table
Reference in a new issue