2022-03-30 10:42:47 +02:00
|
|
|
{{template "base/head" .}}
|
2023-02-01 23:56:10 +01:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository view issue packages">
|
2023-07-06 20:59:24 +02:00
|
|
|
{{template "shared/user/org_profile_avatar" .}}
|
2022-03-30 10:42:47 +02:00
|
|
|
<div class="ui container">
|
2023-07-06 20:59:24 +02:00
|
|
|
{{template "user/overview/header" .}}
|
2023-05-29 12:44:03 +02:00
|
|
|
<div class="issue-title-header">
|
|
|
|
<div class="issue-title">
|
|
|
|
<h1>{{.PackageDescriptor.Package.Name}} ({{.PackageDescriptor.Version.Version}})</h1>
|
|
|
|
</div>
|
|
|
|
<div>
|
2024-11-04 12:30:00 +01:00
|
|
|
{{$timeStr := DateUtils.TimeSince .PackageDescriptor.Version.CreatedUnix}}
|
2023-05-29 12:44:03 +02:00
|
|
|
{{if .HasRepositoryAccess}}
|
2024-02-25 15:02:20 +01:00
|
|
|
{{ctx.Locale.Tr "packages.published_by_in" $timeStr .PackageDescriptor.Creator.HomeLink .PackageDescriptor.Creator.GetDisplayName .PackageDescriptor.Repository.Link .PackageDescriptor.Repository.FullName}}
|
2023-05-29 12:44:03 +02:00
|
|
|
{{else}}
|
2024-02-25 15:02:20 +01:00
|
|
|
{{ctx.Locale.Tr "packages.published_by" $timeStr .PackageDescriptor.Creator.HomeLink .PackageDescriptor.Creator.GetDisplayName}}
|
2023-05-29 12:44:03 +02:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="issue-content">
|
|
|
|
<div class="issue-content-left">
|
|
|
|
{{template "package/content/alpine" .}}
|
2024-08-04 08:16:29 +02:00
|
|
|
{{template "package/content/arch" .}}
|
2023-05-29 12:44:03 +02:00
|
|
|
{{template "package/content/cargo" .}}
|
|
|
|
{{template "package/content/chef" .}}
|
|
|
|
{{template "package/content/composer" .}}
|
|
|
|
{{template "package/content/conan" .}}
|
|
|
|
{{template "package/content/conda" .}}
|
|
|
|
{{template "package/content/container" .}}
|
|
|
|
{{template "package/content/cran" .}}
|
|
|
|
{{template "package/content/debian" .}}
|
|
|
|
{{template "package/content/generic" .}}
|
|
|
|
{{template "package/content/go" .}}
|
|
|
|
{{template "package/content/helm" .}}
|
|
|
|
{{template "package/content/maven" .}}
|
|
|
|
{{template "package/content/npm" .}}
|
|
|
|
{{template "package/content/nuget" .}}
|
|
|
|
{{template "package/content/pub" .}}
|
|
|
|
{{template "package/content/pypi" .}}
|
|
|
|
{{template "package/content/rpm" .}}
|
|
|
|
{{template "package/content/rubygems" .}}
|
|
|
|
{{template "package/content/swift" .}}
|
|
|
|
{{template "package/content/vagrant" .}}
|
|
|
|
</div>
|
|
|
|
<div class="issue-content-right ui segment">
|
2023-09-25 10:56:50 +02:00
|
|
|
<strong>{{ctx.Locale.Tr "packages.details"}}</strong>
|
2023-05-29 12:44:03 +02:00
|
|
|
<div class="ui relaxed list">
|
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
|
|
|
<div class="item">{{svg .PackageDescriptor.Package.Type.SVGName 16 "tw-mr-2"}} {{.PackageDescriptor.Package.Type.Name}}</div>
|
2023-05-29 12:44:03 +02:00
|
|
|
{{if .HasRepositoryAccess}}
|
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
|
|
|
<div class="item">{{svg "octicon-repo" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Repository.Link}}">{{.PackageDescriptor.Repository.FullName}}</a></div>
|
2023-05-29 12:44:03 +02:00
|
|
|
{{end}}
|
2024-11-04 12:30:00 +01:00
|
|
|
<div class="item">{{svg "octicon-calendar" 16 "tw-mr-2"}} {{DateUtils.TimeSince .PackageDescriptor.Version.CreatedUnix}}</div>
|
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
|
|
|
<div class="item">{{svg "octicon-download" 16 "tw-mr-2"}} {{.PackageDescriptor.Version.DownloadCount}}</div>
|
2023-05-29 12:44:03 +02:00
|
|
|
{{template "package/metadata/alpine" .}}
|
2024-08-04 08:16:29 +02:00
|
|
|
{{template "package/metadata/arch" .}}
|
2023-05-29 12:44:03 +02:00
|
|
|
{{template "package/metadata/cargo" .}}
|
|
|
|
{{template "package/metadata/chef" .}}
|
|
|
|
{{template "package/metadata/composer" .}}
|
|
|
|
{{template "package/metadata/conan" .}}
|
|
|
|
{{template "package/metadata/conda" .}}
|
|
|
|
{{template "package/metadata/container" .}}
|
|
|
|
{{template "package/metadata/cran" .}}
|
|
|
|
{{template "package/metadata/debian" .}}
|
|
|
|
{{template "package/metadata/generic" .}}
|
|
|
|
{{template "package/metadata/helm" .}}
|
|
|
|
{{template "package/metadata/maven" .}}
|
|
|
|
{{template "package/metadata/npm" .}}
|
|
|
|
{{template "package/metadata/nuget" .}}
|
|
|
|
{{template "package/metadata/pub" .}}
|
|
|
|
{{template "package/metadata/pypi" .}}
|
|
|
|
{{template "package/metadata/rpm" .}}
|
|
|
|
{{template "package/metadata/rubygems" .}}
|
|
|
|
{{template "package/metadata/swift" .}}
|
|
|
|
{{template "package/metadata/vagrant" .}}
|
|
|
|
{{if not (and (eq .PackageDescriptor.Package.Type "container") .PackageDescriptor.Metadata.Manifests)}}
|
2024-03-19 11:52:32 +01:00
|
|
|
<div class="item">{{svg "octicon-database" 16 "tw-mr-2"}} {{ctx.Locale.TrSize .PackageDescriptor.CalculateBlobSize}}</div>
|
2023-05-29 12:44:03 +02:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
{{if not (eq .PackageDescriptor.Package.Type "container")}}
|
2023-06-29 14:24:22 +02:00
|
|
|
<div class="divider"></div>
|
2023-09-25 10:56:50 +02:00
|
|
|
<strong>{{ctx.Locale.Tr "packages.assets"}} ({{len .PackageDescriptor.Files}})</strong>
|
2023-05-29 12:44:03 +02:00
|
|
|
<div class="ui relaxed list">
|
|
|
|
{{range .PackageDescriptor.Files}}
|
|
|
|
<div class="item">
|
|
|
|
<a href="{{$.Link}}/files/{{.File.ID}}">{{.File.Name}}</a>
|
2024-03-19 11:52:32 +01:00
|
|
|
<span class="text small file-size">{{ctx.Locale.TrSize .Blob.Size}}</span>
|
2023-05-29 12:44:03 +02:00
|
|
|
</div>
|
|
|
|
{{end}}
|
2022-03-30 10:42:47 +02:00
|
|
|
</div>
|
2023-05-29 12:44:03 +02:00
|
|
|
{{end}}
|
2023-06-29 19:01:14 +02:00
|
|
|
<div class="divider"></div>
|
2023-09-25 10:56:50 +02:00
|
|
|
<strong>{{ctx.Locale.Tr "packages.versions"}} ({{.TotalVersionCount}})</strong>
|
2024-03-04 04:33:20 +01:00
|
|
|
<a class="tw-float-right" href="{{$.PackageDescriptor.PackageWebLink}}/versions">{{ctx.Locale.Tr "packages.versions.view_all"}}</a>
|
2023-06-29 19:01:14 +02:00
|
|
|
<div class="ui relaxed list">
|
|
|
|
{{range .LatestVersions}}
|
2024-03-22 14:45:10 +01:00
|
|
|
<div class="item tw-flex">
|
|
|
|
<a class="tw-flex-1 gt-ellipsis" title="{{.Version}}" href="{{$.PackageDescriptor.PackageWebLink}}/{{PathEscape .LowerVersion}}">{{.Version}}</a>
|
2024-11-04 12:30:00 +01:00
|
|
|
<span class="text small">{{DateUtils.AbsoluteShort .CreatedUnix}}</span>
|
2023-05-29 12:44:03 +02:00
|
|
|
</div>
|
|
|
|
{{end}}
|
2023-06-29 19:01:14 +02:00
|
|
|
</div>
|
2023-05-29 12:44:03 +02:00
|
|
|
{{if or .CanWritePackages .HasRepositoryAccess}}
|
2023-06-29 14:24:22 +02:00
|
|
|
<div class="divider"></div>
|
2023-05-29 12:44:03 +02:00
|
|
|
<div class="ui relaxed list">
|
|
|
|
{{if .HasRepositoryAccess}}
|
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
|
|
|
<div class="item">{{svg "octicon-issue-opened" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Repository.Link}}/issues">{{ctx.Locale.Tr "repo.issues"}}</a></div>
|
2022-03-30 10:42:47 +02:00
|
|
|
{{end}}
|
2023-05-29 12:44:03 +02:00
|
|
|
{{if .CanWritePackages}}
|
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
|
|
|
<div class="item">{{svg "octicon-tools" 16 "tw-mr-2"}} <a href="{{.Link}}/settings">{{ctx.Locale.Tr "repo.settings"}}</a></div>
|
2022-03-30 10:42:47 +02:00
|
|
|
{{end}}
|
|
|
|
</div>
|
2023-05-29 12:44:03 +02:00
|
|
|
{{end}}
|
2022-03-30 10:42:47 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|