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

tokarchuk/v1.17
Chri-s 7 years ago committed by Lauris BH
parent 05abd03011
commit e64aa18dc9
  1. 2
      routers/repo/setting_protected_branch.go

@ -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