diff --git a/templates/base.html b/templates/base.html index fcfb938..131344e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -26,7 +26,7 @@
diff --git a/templates/catalog.html b/templates/catalog.html index 99064dc..e501496 100644 --- a/templates/catalog.html +++ b/templates/catalog.html @@ -89,7 +89,7 @@ {{end}} {* end tags *} {{if eventsAllowed and isset(events) }} -{{ e.Action }} | - {{if hasPrefix(e.Tag,"sha256") }} + {{if hasPrefix(e.Tag,"sha256:") }}{{ e.Repository }}@{{ e.Tag[:19] }}... | {{else}}{{ e.Repository }}:{{ e.Tag }} | diff --git a/templates/event_log.html b/templates/event_log.html index e43110b..52a5d30 100644 --- a/templates/event_log.html +++ b/templates/event_log.html @@ -72,10 +72,10 @@ {{range _, e := events}}||||
{{ e.Action }} | - {{if hasPrefix(e.Tag,"sha256") }} -{{ e.Repository }}@{{ e.Tag[:19] }}... | + {{if hasPrefix(e.Tag,"sha256:") }} +{{ e.Repository }}@{{ e.Tag[:19] }}... | {{else}} -{{ e.Repository }}:{{ e.Tag }} | +{{ e.Repository }}:{{ e.Tag }} | {{end}}{{ e.IP }} | {{ e.User }} |