Gitfed
bastien-mrq/gitfed/ Commits/ e7c6525

Fix missing icon on repo page's Settings button

Every other button in the repo page's action row (branch, Download, Commits, Merge requests) pairs an icon with its label; Settings was the one exception. Reported live via screenshot. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

bastien-mrq 2026-07-30 14:42 commit e7c6525edcd460991f121e732ef2b2f7b4632f9a parent 63a4a2a4d3e6f7690cd3ebef83ebe39ecc4bb086
3 files changed +6 −2
M CHANGELOG.md +4 −0
M VERSION +1 −1
M cmd/gitfed-web/handlers_repo.go +1 −1
CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md index d3e2bed..3480268 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ A bullet starting with `**BREAKING:**` flags a change gitfed-ctl's update wizard makes you acknowledge individually before it will let you upgrade past that version. +## 1.2.27 + +- Fixed: the repo page's "Settings" button was missing its icon (every other button in that row — branch, Download, Commits, Merge requests — has one). + ## 1.2.26 - Notifications extend beyond federation grants to local repo activity: opening a merge request now notifies the repo owner, and commenting on one notifies its author — same bell/badge and Accept/Dismiss list already used for federated invites, with a "View" link straight to the MR. Never self-notifies. `store.Notification` gained a `Kind` (defaulting to the existing "grant" behavior for old records) and `MRNumber`/`Title`; a real bug was caught and fixed while adding this: the notification dedup key didn't include the MR number, so a second comment notification on a *different* MR from the same commenter on the same repo would have silently overwritten a still-pending one about the first MR.
VERSION
diff --git a/VERSION b/VERSION index cba64f4..3b781da 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.26 +1.2.27
cmd/gitfed-web/handlers_repo.go
diff --git a/cmd/gitfed-web/handlers_repo.go b/cmd/gitfed-web/handlers_repo.go index 989e993..fdc39b5 100644 --- a/cmd/gitfed-web/handlers_repo.go +++ b/cmd/gitfed-web/handlers_repo.go @@ -188,7 +188,7 @@ var repoTpl = newTpl("repo", ` {{end}} {{if not .Empty}}<a href="/repo-commits/{{.Repo.Name}}" class="gf-btn">{{icon "history"}} {{t .Lang "repo.commits_title"}}{{if .CommitCount}} ({{.CommitCount}}){{end}}</a>{{end}} {{if not .Empty}}<a href="/repo-mrs/{{.Repo.Name}}" class="gf-btn">{{icon "branch"}} {{t .Lang "mr.list_title"}}</a>{{end}} - {{if .CanAdminister}}<a href="/repo-settings/{{.Repo.Name}}" class="gf-btn">{{t .Lang "nav.settings"}}</a>{{end}} + {{if .CanAdminister}}<a href="/repo-settings/{{.Repo.Name}}" class="gf-btn">{{icon "settings"}} {{t .Lang "nav.settings"}}</a>{{end}} </div> {{if .Repo.Public}}