2022-03-30 04:42:47 -04:00
|
|
|
{{template "base/head" .}}
|
2023-02-01 17:56:10 -05:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository view issue packages">
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "user/overview/header" .}}
|
|
|
|
<div class="ui container">
|
|
|
|
<div>
|
|
|
|
<div class="ui stackable grid">
|
|
|
|
<div class="sixteen wide column title">
|
|
|
|
<div class="issue-title">
|
|
|
|
<h1>{{.PackageDescriptor.Package.Name}} ({{.PackageDescriptor.Version.Version}})</h1>
|
|
|
|
</div>
|
|
|
|
<div>
|
2022-06-27 16:58:46 -04:00
|
|
|
{{$timeStr := TimeSinceUnix .PackageDescriptor.Version.CreatedUnix $.locale}}
|
2022-05-07 12:21:15 -04:00
|
|
|
{{if .HasRepositoryAccess}}
|
2023-02-06 13:09:18 -05:00
|
|
|
{{.locale.Tr "packages.published_by_in" $timeStr .PackageDescriptor.Creator.HomeLink (.PackageDescriptor.Creator.GetDisplayName | Escape) .PackageDescriptor.Repository.Link (.PackageDescriptor.Repository.FullName | Escape) | Safe}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{else}}
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "packages.published_by" $timeStr .PackageDescriptor.Creator.HomeLink (.PackageDescriptor.Creator.GetDisplayName | Escape) | Safe}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
<div class="ui divider"></div>
|
|
|
|
</div>
|
|
|
|
<div class="twelve wide column">
|
2023-05-12 13:27:50 -04:00
|
|
|
{{template "package/content/alpine" .}}
|
2023-02-05 05:12:31 -05:00
|
|
|
{{template "package/content/cargo" .}}
|
2023-02-05 20:49:21 -05:00
|
|
|
{{template "package/content/chef" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/content/composer" .}}
|
|
|
|
{{template "package/content/conan" .}}
|
2023-02-01 13:30:39 -05:00
|
|
|
{{template "package/content/conda" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/content/container" .}}
|
2023-05-21 22:57:49 -04:00
|
|
|
{{template "package/content/cran" .}}
|
2023-05-02 12:31:35 -04:00
|
|
|
{{template "package/content/debian" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/content/generic" .}}
|
2023-05-14 11:38:40 -04:00
|
|
|
{{template "package/content/go" .}}
|
2022-04-19 12:55:35 -04:00
|
|
|
{{template "package/content/helm" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/content/maven" .}}
|
2022-04-19 12:55:35 -04:00
|
|
|
{{template "package/content/npm" .}}
|
|
|
|
{{template "package/content/nuget" .}}
|
2022-08-07 06:09:54 -04:00
|
|
|
{{template "package/content/pub" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/content/pypi" .}}
|
2023-05-05 16:33:37 -04:00
|
|
|
{{template "package/content/rpm" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/content/rubygems" .}}
|
2023-03-13 16:28:39 -04:00
|
|
|
{{template "package/content/swift" .}}
|
2022-08-29 03:04:45 -04:00
|
|
|
{{template "package/content/vagrant" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
</div>
|
|
|
|
<div class="four wide column">
|
|
|
|
<div class="ui segment metas">
|
2022-06-27 16:58:46 -04:00
|
|
|
<strong>{{.locale.Tr "packages.details"}}</strong>
|
2022-03-30 04:42:47 -04:00
|
|
|
<div class="ui relaxed list">
|
2023-02-13 12:59:59 -05:00
|
|
|
<div class="item">{{svg .PackageDescriptor.Package.Type.SVGName 16 "gt-mr-3"}} {{.PackageDescriptor.Package.Type.Name}}</div>
|
2022-05-07 12:21:15 -04:00
|
|
|
{{if .HasRepositoryAccess}}
|
2023-02-13 12:59:59 -05:00
|
|
|
<div class="item">{{svg "octicon-repo" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Repository.Link}}">{{.PackageDescriptor.Repository.FullName}}</a></div>
|
2022-03-30 04:42:47 -04:00
|
|
|
{{end}}
|
2023-02-13 12:59:59 -05:00
|
|
|
<div class="item">{{svg "octicon-calendar" 16 "gt-mr-3"}} {{TimeSinceUnix .PackageDescriptor.Version.CreatedUnix $.locale}}</div>
|
|
|
|
<div class="item">{{svg "octicon-download" 16 "gt-mr-3"}} {{.PackageDescriptor.Version.DownloadCount}}</div>
|
2023-05-12 13:27:50 -04:00
|
|
|
{{template "package/metadata/alpine" .}}
|
2023-02-05 05:12:31 -05:00
|
|
|
{{template "package/metadata/cargo" .}}
|
2023-02-05 20:49:21 -05:00
|
|
|
{{template "package/metadata/chef" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/metadata/composer" .}}
|
|
|
|
{{template "package/metadata/conan" .}}
|
2023-02-01 13:30:39 -05:00
|
|
|
{{template "package/metadata/conda" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/metadata/container" .}}
|
2023-05-21 22:57:49 -04:00
|
|
|
{{template "package/metadata/cran" .}}
|
2023-05-02 12:31:35 -04:00
|
|
|
{{template "package/metadata/debian" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/metadata/generic" .}}
|
2022-04-19 12:55:35 -04:00
|
|
|
{{template "package/metadata/helm" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/metadata/maven" .}}
|
2022-04-19 12:55:35 -04:00
|
|
|
{{template "package/metadata/npm" .}}
|
|
|
|
{{template "package/metadata/nuget" .}}
|
2022-08-07 06:09:54 -04:00
|
|
|
{{template "package/metadata/pub" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/metadata/pypi" .}}
|
2023-05-05 16:33:37 -04:00
|
|
|
{{template "package/metadata/rpm" .}}
|
2022-03-30 04:42:47 -04:00
|
|
|
{{template "package/metadata/rubygems" .}}
|
2023-03-13 16:28:39 -04:00
|
|
|
{{template "package/metadata/swift" .}}
|
2022-08-29 03:04:45 -04:00
|
|
|
{{template "package/metadata/vagrant" .}}
|
2023-04-02 05:53:37 -04:00
|
|
|
{{if not (and (eq .PackageDescriptor.Package.Type "container") .PackageDescriptor.Metadata.Manifests)}}
|
2023-02-13 12:59:59 -05:00
|
|
|
<div class="item">{{svg "octicon-database" 16 "gt-mr-3"}} {{FileSize .PackageDescriptor.CalculateBlobSize}}</div>
|
2023-04-02 05:53:37 -04:00
|
|
|
{{end}}
|
2022-03-30 04:42:47 -04:00
|
|
|
</div>
|
|
|
|
{{if not (eq .PackageDescriptor.Package.Type "container")}}
|
|
|
|
<div class="ui divider"></div>
|
2022-06-27 16:58:46 -04:00
|
|
|
<strong>{{.locale.Tr "packages.assets"}} ({{len .PackageDescriptor.Files}})</strong>
|
2022-03-30 04:42:47 -04:00
|
|
|
<div class="ui relaxed list">
|
|
|
|
{{range .PackageDescriptor.Files}}
|
|
|
|
<div class="item">
|
|
|
|
<a href="{{$.Link}}/files/{{.File.ID}}">{{.File.Name}}</a>
|
|
|
|
<span class="text small file-size">{{FileSize .Blob.Size}}</span>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
{{if .LatestVersions}}
|
|
|
|
<div class="ui divider"></div>
|
2022-06-27 16:58:46 -04:00
|
|
|
<strong>{{.locale.Tr "packages.versions"}} ({{.TotalVersionCount}})</strong>
|
|
|
|
<a class="ui right" href="{{$.PackageDescriptor.PackageWebLink}}/versions">{{.locale.Tr "packages.versions.view_all"}}</a>
|
2022-03-30 04:42:47 -04:00
|
|
|
<div class="ui relaxed list">
|
|
|
|
{{range .LatestVersions}}
|
2023-04-15 07:01:54 -04:00
|
|
|
<div class="item gt-df">
|
|
|
|
<a class="gt-f1" href="{{$.PackageDescriptor.PackageWebLink}}/{{PathEscape .LowerVersion}}">{{.Version}}</a>
|
2023-04-25 15:48:30 -04:00
|
|
|
<span class="text small">{{DateTime "short" .CreatedUnix}}</span>
|
2022-03-30 04:42:47 -04:00
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
2022-05-07 12:21:15 -04:00
|
|
|
{{if or .CanWritePackages .HasRepositoryAccess}}
|
2022-03-30 04:42:47 -04:00
|
|
|
<div class="ui divider"></div>
|
|
|
|
<div class="ui relaxed list">
|
2022-05-07 12:21:15 -04:00
|
|
|
{{if .HasRepositoryAccess}}
|
2023-02-13 12:59:59 -05:00
|
|
|
<div class="item">{{svg "octicon-issue-opened" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Repository.Link}}/issues">{{.locale.Tr "repo.issues"}}</a></div>
|
2022-03-30 04:42:47 -04:00
|
|
|
{{end}}
|
|
|
|
{{if .CanWritePackages}}
|
2023-02-13 12:59:59 -05:00
|
|
|
<div class="item">{{svg "octicon-tools" 16 "gt-mr-3"}} <a href="{{.Link}}/settings">{{.locale.Tr "repo.settings"}}</a></div>
|
2022-03-30 04:42:47 -04:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|