{{template "base/head" .}}
{{template "user/overview/header" .}}

{{.PackageDescriptor.Package.Name}} ({{.PackageDescriptor.Version.Version}})

{{$timeStr := TimeSinceUnix .PackageDescriptor.Version.CreatedUnix $.i18n.Lang}} {{if .PackageDescriptor.Repository}} {{.i18n.Tr "packages.published_by_in" $timeStr .PackageDescriptor.Creator.HomeLink (.PackageDescriptor.Creator.GetDisplayName | Escape) .PackageDescriptor.Repository.HTMLURL (.PackageDescriptor.Repository.FullName | Escape) | Safe}} {{else}} {{.i18n.Tr "packages.published_by" $timeStr .PackageDescriptor.Creator.HomeLink (.PackageDescriptor.Creator.GetDisplayName | Escape) | Safe}} {{end}}
{{template "package/content/composer" .}} {{template "package/content/conan" .}} {{template "package/content/container" .}} {{template "package/content/generic" .}} {{template "package/content/helm" .}} {{template "package/content/maven" .}} {{template "package/content/npm" .}} {{template "package/content/nuget" .}} {{template "package/content/pypi" .}} {{template "package/content/rubygems" .}}
{{.i18n.Tr "packages.details"}}
{{svg .PackageDescriptor.Package.Type.SVGName 16 "mr-3"}} {{.PackageDescriptor.Package.Type.Name}}
{{if .PackageDescriptor.Repository}}
{{svg "octicon-repo" 16 "mr-3"}} {{.PackageDescriptor.Repository.FullName}}
{{end}}
{{svg "octicon-calendar" 16 "mr-3"}} {{.PackageDescriptor.Version.CreatedUnix.FormatDate}}
{{svg "octicon-download" 16 "mr-3"}} {{.PackageDescriptor.Version.DownloadCount}}
{{template "package/metadata/composer" .}} {{template "package/metadata/conan" .}} {{template "package/metadata/container" .}} {{template "package/metadata/generic" .}} {{template "package/metadata/helm" .}} {{template "package/metadata/maven" .}} {{template "package/metadata/npm" .}} {{template "package/metadata/nuget" .}} {{template "package/metadata/pypi" .}} {{template "package/metadata/rubygems" .}}
{{if not (eq .PackageDescriptor.Package.Type "container")}}
{{.i18n.Tr "packages.assets"}} ({{len .PackageDescriptor.Files}})
{{range .PackageDescriptor.Files}}
{{.File.Name}} {{FileSize .Blob.Size}}
{{end}}
{{end}} {{if .LatestVersions}}
{{.i18n.Tr "packages.versions"}} ({{.TotalVersionCount}}) {{.i18n.Tr "packages.versions.view_all"}}
{{range .LatestVersions}}
{{.Version}} {{$.i18n.Tr "packages.versions.on"}} {{.CreatedUnix.FormatDate}}
{{end}}
{{end}} {{if or .CanWritePackages .PackageDescriptor.Repository}}
{{if .PackageDescriptor.Repository}}
{{svg "octicon-issue-opened" 16 "mr-3"}} {{.i18n.Tr "repo.issues"}}
{{end}} {{if .CanWritePackages}}
{{svg "octicon-tools" 16 "mr-3"}} {{.i18n.Tr "repo.settings"}}
{{end}}
{{end}}
{{template "base/footer" .}}