Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Rename Change requests to Changes in the web UI

b06184d1105ff5ea27a5b8dd0a827f0bf870ce7a · Keenan Nemetz · 11d ago · parent 55615c7a

Rename Change requests to Changes in the web UI

Use one word for a proposed branch update: the repository tab, page
heading, list, empty states, overview, home page, activity feed, and
error messages now say Changes. Add the missing subtitle to the changes
list page.

server/web/activity.go +6−6

@@ -139,13 +139,13 @@ func (w *Web) repoActivity(m *repo.Meta, kind, actor, assignee string) activityF
139 139 events = append(events, activityEvent{
140 140 Kind: "change", Icon: "git-pull-request", Time: req.Created,
141 141 Actor: w.who(req.Author), ActorName: req.Author, Title: req.Title,
142 Detail: "opened change request", URL: "/r/" + m.Name + "/requests/" + req.ID,
142 Detail: "opened change", URL: "/r/" + m.Name + "/requests/" + req.ID,
143 143 })
144 144 for _, c := range req.Comments {
145 145 events = append(events, activityEvent{
146 146 Kind: "change", Icon: "message-square", Time: c.Created,
147 147 Actor: w.who(c.Author), ActorName: c.Author, Title: req.Title,
148 Detail: "commented on change request",
148 Detail: "commented on change",
149 149 URL: "/r/" + m.Name + "/requests/" + req.ID + "#c-" + c.ID,
150 150 })
151 151 }
@@ -153,7 +153,7 @@ func (w *Web) repoActivity(m *repo.Meta, kind, actor, assignee string) activityF
153 153 events = append(events, activityEvent{
154 154 Kind: "change", Icon: "check", Time: a.Created,
155 155 Actor: w.who(a.Principal), ActorName: a.Principal, Title: req.Title,
156 Detail: "approved change request",
156 Detail: "approved change",
157 157 URL: "/r/" + m.Name + "/requests/" + req.ID,
158 158 })
159 159 }
@@ -262,11 +262,11 @@ func issueStateDetail(state string) string {
262 262 func requestStateDetail(state string) string {
263 263 switch state {
264 264 case "closed":
265 return "closed change request"
265 return "closed change"
266 266 case "merged":
267 return "merged change request"
267 return "merged change"
268 268 }
269 return "reopened change request"
269 return "reopened change"
270 270 }
271 271
272 272 func (w *Web) activityActors() []activityActor {