Browse Source

Change protected branch settings title to existing locale entry (#3694)

tags/v1.21.12.1
Chri-s Lauris BH 8 years ago
parent
commit
e64aa18dc9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/setting_protected_branch.go

+ 1
- 1
routers/repo/setting_protected_branch.go View File

@@ -98,7 +98,7 @@ func SettingsProtectedBranch(c *context.Context) {
return
}

c.Data["Title"] = c.Tr("repo.settings.protected_branches") + " - " + branch
c.Data["Title"] = c.Tr("repo.settings.protected_branch") + " - " + branch
c.Data["PageIsSettingsBranches"] = true

protectBranch, err := models.GetProtectedBranchBy(c.Repo.Repository.ID, branch)


Loading…
Cancel
Save