forked from forgejo/forgejo
stopwatch notif: check if timetracking is enabled (#14750)
fixes #14435
This commit is contained in:
parent
aa4f9180e4
commit
91424fff3d
3 changed files with 9 additions and 2 deletions
|
@ -42,6 +42,7 @@
|
|||
MaxTimeout: {{NotificationSettings.MaxTimeout}},
|
||||
EventSourceUpdateTime: {{NotificationSettings.EventSourceUpdateTime}},
|
||||
},
|
||||
EnableTimetracking: {{if EnableTimetracking}}true{{else}}false{{end}},
|
||||
PageIsProjects: {{if .PageIsProjects }}true{{else}}false{{end}},
|
||||
{{if .RequireTribute}}
|
||||
tributeValues: Array.from(new Map([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue