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/ui_test.go +4−4

@@ -41,7 +41,7 @@ func TestRepositoryPagesShareTheTabHeader(t *testing.T) {
41 41 if code != 200 {
42 42 t.Fatalf("%s = %d", path, code)
43 43 }
44 for _, want := range []string{`class="repotab`, ">Activity<", ">Code<", ">Issues <span class=\"chip-count\">0</span><", ">Change requests <span class=\"chip-count\">0</span><", ">Releases<", ">Runs<", ">Locks<"} {
44 for _, want := range []string{`class="repotab`, ">Activity<", ">Code<", ">Issues <span class=\"chip-count\">0</span><", ">Changes <span class=\"chip-count\">0</span><", ">Releases<", ">Runs<", ">Locks<"} {
45 45 if !strings.Contains(body, want) {
46 46 t.Fatalf("%s is missing the %s tab:\n%s", path, want, body)
47 47 }
@@ -90,7 +90,7 @@ func TestRepoTabsCountOpenIssuesAndRequests(t *testing.T) {
90 90 }
91 91 for _, want := range []string{
92 92 `>Issues <span class="chip-count">1</span>`,
93 `>Change requests <span class="chip-count">1</span>`,
93 `>Changes <span class="chip-count">1</span>`,
94 94 } {
95 95 if !strings.Contains(body, want) {
96 96 t.Fatalf("the repository tabs do not show %q:\n%s", want, body)
@@ -496,7 +496,7 @@ func TestOverviewAndActivityPages(t *testing.T) {
496 496 if code != 200 {
497 497 t.Fatalf("overview = %d", code)
498 498 }
499 for _, want := range []string{"Overview project", "Recent commits", "Recent issues", "Recent change requests", "No open issues.", "No open change requests.", "Recent runs", "contributors", "Languages", "Go"} {
499 for _, want := range []string{"Overview project", "Recent commits", "Recent issues", "Recent changes", "No open issues.", "No open changes.", "Recent runs", "contributors", "Languages", "Go"} {
500 500 if !strings.Contains(body, want) {
501 501 t.Fatalf("overview page does not show %q:\n%s", want, body)
502 502 }
@@ -556,7 +556,7 @@ func TestOverviewShowsRecentOpenIssuesAndChanges(t *testing.T) {
556 556 t.Fatalf("overview = %d", code)
557 557 }
558 558 for _, want := range []string{
559 "Recent issues", "Recent change requests",
559 "Recent issues", "Recent changes",
560 560 "Overview open issue", "Overview open change",
561 561 `href="/r/` + f.repo + `/issues/` + openIssueID + `"`,
562 562 `href="/r/` + f.repo + `/requests/` + openChangeID + `"`,