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 . }}
|
||||
<tr class="pointer" onclick="window.location='/watch/view/{{ .ID }}'">
|
||||
<td class="h3">{{ .Name }}</td>
|
||||
{{ if .CronEntry }}
|
||||
<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>
|
||||
<a href="/watch/edit/{{ .ID }}" class="btn btn-success">Edit</a>
|
||||
</td>
|
||||
|
|
1
todo.md
1
todo.md
|
@ -4,4 +4,3 @@
|
|||
- header/post body for get url ?
|
||||
- add toast when editing to replace notify ?
|
||||
- unescape notify string
|
||||
- fix bug when no cron job for watch
|
Loading…
Add table
Reference in a new issue