From a34eb53b2aca134801357e7167211cba6a1342d1 Mon Sep 17 00:00:00 2001 From: Jonathan Miller <1+jmiller@noreply.git.mokoconsulting.tech> Date: Sun, 31 May 2026 02:47:56 +0000 Subject: [PATCH 1/2] chore: sync updates.xml 05.09.00 from main [skip ci] --- updates.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/updates.xml b/updates.xml index ed21f883f6..4fde695698 100644 --- a/updates.xml +++ b/updates.xml @@ -1,7 +1,7 @@ @@ -87,13 +87,13 @@ mokogitea application site - 05.05.00 - 2026-05-30 + 05.09.00 + 2026-05-31 https://git.mokoconsulting.tech/MokoConsulting/MokoGitea/releases/tag/stable - https://git.mokoconsulting.tech/MokoConsulting/MokoGitea/releases/download/stable/mokogitea-05.05.00.zip + https://git.mokoconsulting.tech/MokoConsulting/MokoGitea/releases/download/stable/mokogitea-05.09.00.zip - 4fee9eb03e4b819a63bce2ceb54fdce0d3eb8bf5b31460fcc42e5ecd75cc856e + e1ad6280b473b8606003a8002746ee3392f4447af4b31c44d77f5cc6700650ae stable https://git.mokoconsulting.tech/MokoConsulting/MokoGitea/raw/branch/main/CHANGELOG.md Moko Consulting -- 2.52.0 From 282ef8f3e7b7d6c5989b95f1c2306c85fa2a0013 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Sat, 30 May 2026 22:04:44 -0500 Subject: [PATCH 2/2] fix(ui): show Licenses tab for repo admins even without packages The Licenses tab was hidden when no packages existed, making it impossible for admins to find the page to create their first package. Now shows for repo admins always, and for everyone when packages exist. Co-Authored-By: Claude Opus 4.6 (1M context) --- templates/repo/header.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 27e261a28d..cb7d95abce 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -128,7 +128,7 @@ {{end}} - {{if .EnableLicenses}} + {{if or .EnableLicenses (.Permission.IsAdmin)}} {{svg "octicon-key"}} {{ctx.Locale.Tr "repo.licenses"}} {{if .NumLicensePackages}} -- 2.52.0