From 4ce332d031fc17b39e38595419bbb3a2459b1f44 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Sat, 30 May 2026 20:23:51 -0500 Subject: [PATCH] feat(ui): add Update Feed button on releases page Add an "Update Feed" button next to the RSS link on the releases page that links to the repo's updates.xml endpoint. Only shown on the releases view (not tags). Co-Authored-By: Claude Opus 4.6 (1M context) --- options/locale/locale_en-US.json | 1 + templates/repo/release_tag_header.tmpl | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/options/locale/locale_en-US.json b/options/locale/locale_en-US.json index 85a1d98de4..5dff11d024 100644 --- a/options/locale/locale_en-US.json +++ b/options/locale/locale_en-US.json @@ -2612,6 +2612,7 @@ "repo.release.detail": "Release details", "repo.release.tags": "Tags", "repo.release.new_release": "New Release", + "repo.release.update_feed": "Update Feed", "repo.release.draft": "Draft", "repo.release.prerelease": "Pre-Release", "repo.release.stable": "Stable", diff --git a/templates/repo/release_tag_header.tmpl b/templates/repo/release_tag_header.tmpl index 12acf4bfeb..3b675e79ae 100644 --- a/templates/repo/release_tag_header.tmpl +++ b/templates/repo/release_tag_header.tmpl @@ -16,6 +16,11 @@ {{svg "octicon-rss" 16}} {{ctx.Locale.Tr "rss_feed"}} {{end}} + {{if not .PageIsTagList}} + + {{svg "octicon-download" 16}} {{ctx.Locale.Tr "repo.release.update_feed"}} + + {{end}} {{if and (not .PageIsTagList) .CanCreateRelease}} {{ctx.Locale.Tr "repo.release.new_release"}} -- 2.52.0