b2e4fde63a
Fix tests Expose email reminder setting through jwt Set reminders on by default Fix lint Make user email configurable Expose email reminder setting through /info Don't try to send any reminders if none were found More spacing for buttons Fix db time format Enable reminders by default Make emails look more like the frontend Add config to disable it Add sending emaisl Add getting all task users and reminding them Add getting the next reminder in a cron Move task reminder to separate file Add cron Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/api/pulls/743 Co-Authored-By: konrad <konrad@kola-entertainments.de> Co-Committed-By: konrad <konrad@kola-entertainments.de>
17 lines
No EOL
925 B
Cheetah
17 lines
No EOL
925 B
Cheetah
{{template "mail-header.tmpl" .}}
|
|
<p>
|
|
Hi {{if .User.Name}}{{.User.Name}}{{else}}{{.User.Username}}{{end}},<br/>
|
|
<br/>
|
|
This is a friendly reminder of the task "{{.Task.Title}}".<br/>
|
|
</p>
|
|
<a href="{{.FrontendURL}}tasks/{{.Task.ID}}" title="Open Task" style="-webkit-box-shadow: 0.3em 0.3em 1em #b2d0ff; box-shadow: 0.3em 0.3em 1em #b2d0ff; background-color: #1973ff; border-color: transparent; color: #fff; text-decoration: none; text-align: center; text-rendering: optimizelegibility; text-transform: uppercase; font-weight: bold; font-size: 14px; padding: 10px 14px; margin: 10px auto; border-radius: 4px; user-select: none; display: block; width: 280px;font-family:sans-serif">
|
|
Open Task
|
|
</a>
|
|
<p>
|
|
If the button above doesn't work, copy the url below and paste it in your browsers address bar:<br/>
|
|
{{.FrontendURL}}tasks/{{.Task.ID}}
|
|
</p>
|
|
<p>
|
|
Have a nice day!
|
|
</p>
|
|
{{template "mail-footer.tmpl"}} |