From 2f83424ce8a0653e6e158318df1511daecf1a42d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20J=C3=B8rgensen?= Date: Fri, 24 May 2024 21:30:23 +0200 Subject: Time format rework --- templates/parts/entry.html | 20 ++++++++++---------- templates/parts/entryRows.html | 18 ++++++++++-------- 2 files changed, 20 insertions(+), 18 deletions(-) (limited to 'templates/parts') diff --git a/templates/parts/entry.html b/templates/parts/entry.html index f99fb90..9f05ffa 100644 --- a/templates/parts/entry.html +++ b/templates/parts/entry.html @@ -1,18 +1,18 @@ -
- + + {{ if .Detached }} - {{ if gt .Task.Id -1 }}Redigerer opgave {{ .Task.Id }}{{else}}Redigerer ny opgave{{end}}{{ if .Tracking }}, med opgave i baggrunden!{{else}}.{{end}}
+ {{ if gt .Entry.Id -1 }}Redigerer opgave {{ .Entry.Id }}{{else}}Redigerer ny opgave{{end}}{{ if .Tracking }}, med opgave i baggrunden!{{else}}.{{end}}
{{end}}
Interval
- +
- +
@@ -30,16 +30,16 @@
Kommentar
- +
Status
- {{ if not .Detached}}{{ if .Task }}I gang{{ else }}Stoppet{{ end }}
{{end}} - {{ if .Task }}1:34 timer{{ end }} + {{ if not .Detached}}{{ if .Entry }}I gang{{ else }}Stoppet{{ end }}
{{end}} + {{ if .Entry }}1:34 timer{{ end }}
- {{ if .Task }} + {{ if .Entry }} {{ else }} - {{ if .Task }} + {{ if .Entry }} {{end}} + {{ end }} -- cgit v1.2.3