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>
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
@@ -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
@@ -1 +1 @@
-1.2.26
+1.2.27
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}}