aboutsummaryrefslogtreecommitdiff
path: root/templates/repo
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-03-16 20:09:27 -0400
committerUnknwon <u@gogs.io>2017-03-16 20:09:27 -0400
commit7c802f6d83b50e5a647fbf667c25480d67f4791f (patch)
treef1fef4b653908b8af1e40a4ee1ca83b62fc70a16 /templates/repo
parent431e930367dccbc9c3df4afbc370b2b05482d231 (diff)
repo/setting: filter out deleted branch in protect list (#4288)
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/settings/branches.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/branches.tmpl b/templates/repo/settings/branches.tmpl
index e5d6c1fb..92149b08 100644
--- a/templates/repo/settings/branches.tmpl
+++ b/templates/repo/settings/branches.tmpl
@@ -50,7 +50,7 @@
<div class="ui protected-branches list">
{{range .ProtectBranches}}
<div class="item">
- <a href="{{$.Link}}/{{.Name}}"><code>{{.Name}}</code></a>
+ <a href="{{$.Link}}/{{.}}"><code>{{.}}</code></a>
</div>
{{end}}
</div>