mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 11:34:12 +01:00
Change protected branch settings title to existing locale entry (#3694)
This commit is contained in:
parent
05abd03011
commit
e64aa18dc9
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ func SettingsProtectedBranch(c *context.Context) {
|
||||||
return
|
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
|
c.Data["PageIsSettingsBranches"] = true
|
||||||
|
|
||||||
protectBranch, err := models.GetProtectedBranchBy(c.Repo.Repository.ID, branch)
|
protectBranch, err := models.GetProtectedBranchBy(c.Repo.Repository.ID, branch)
|
||||||
|
|
Loading…
Reference in a new issue