From e68b9d00a6e05b3a941f63ffb696f91e554ac5ec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.3. Signed-off-by: Daniel Baumann --- templates/package/shared/versionlist.tmpl | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 templates/package/shared/versionlist.tmpl (limited to 'templates/package/shared/versionlist.tmpl') diff --git a/templates/package/shared/versionlist.tmpl b/templates/package/shared/versionlist.tmpl new file mode 100644 index 0000000..e5c568e --- /dev/null +++ b/templates/package/shared/versionlist.tmpl @@ -0,0 +1,37 @@ +

{{.PackageDescriptor.Package.Name}} / {{ctx.Locale.Tr "packages.versions"}}

+
+
+ {{template "shared/search/input" dict "Value" .Query "Placeholder" (ctx.Locale.Tr "search.package_kind")}} + + {{if eq .PackageDescriptor.Package.Type "container"}} + + {{end}} + {{template "shared/search/button"}} +
+
+
+ {{range .PackageDescriptors}} +
+
+
+ {{.Version.LowerVersion}} +
+ {{ctx.Locale.Tr "packages.published_by" (TimeSinceUnix .Version.CreatedUnix ctx.Locale) .Creator.HomeLink .Creator.GetDisplayName}} +
+
+
+
+ {{else}} +

{{ctx.Locale.Tr "packages.filter.no_result"}}

+ {{end}} + {{template "base/paginate" .}} +
-- cgit v1.2.3