We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c25063d commit cb16028Copy full SHA for cb16028
routers/repo/branch.go
@@ -10,9 +10,10 @@ import (
10
)
11
12
const (
13
- BRANCH base.TplName = "repo/branch"
+ tplBranch base.TplName = "repo/branch"
14
15
16
+// Branches render repository branch page
17
func Branches(ctx *context.Context) {
18
ctx.Data["Title"] = "Branches"
19
ctx.Data["IsRepoToolbarBranches"] = true
@@ -27,5 +28,5 @@ func Branches(ctx *context.Context) {
27
28
}
29
30
ctx.Data["Branches"] = brs
- ctx.HTML(200, BRANCH)
31
+ ctx.HTML(200, tplBranch)
32
0 commit comments