diff --git a/appview/pages/templates/repo/tags.html b/appview/pages/templates/repo/tags.html index 0b070c0..0c344b6 100644 --- a/appview/pages/templates/repo/tags.html +++ b/appview/pages/templates/repo/tags.html @@ -3,70 +3,70 @@ {{ end }} {{ define "repoContent" }} -
-

tags

-
- {{ range .Tags }} -
- -
- -
- - {{ i "tag" "w-4 h-4" }} - {{ .Name }} - +
+

tags

+
+ {{ range .Tags }} +
+ +
+ +
+ + {{ i "tag" "w-4 h-4" }} + {{ .Name }} + -
- {{ if .Tag }} - - {{ slice .Tag.Target.String 0 8 }} - +
+ {{ if .Tag }} + + {{ slice .Tag.Target.String 0 8 }} + - - {{ .Tag.Tagger.Name }} + + {{ .Tag.Tagger.Name }} - - - {{ end }} -
+ + + {{ end }}
+
- - - -
- {{ if .Tag }} - {{ $messageParts := splitN .Tag.Message "\n\n" 2 }} -

{{ index $messageParts 0 }}

- {{ if gt (len $messageParts) 1 }} -

{{ nl2br (index $messageParts 1) }}

- {{ end }} - {{ else }} -

no message

+ +
+ {{ if .Tag }} + {{ $messageParts := splitN .Tag.Message "\n\n" 2 }} +

{{ index $messageParts 0 }}

+ {{ if gt (len $messageParts) 1 }} +

{{ nl2br (index $messageParts 1) }}

{{ end }} -
+ {{ else }} +

no message

+ {{ end }}
- {{ end }}
-
+ {{ end }} +
+
{{ end }}