aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/bare.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/bare.tmpl')
-rw-r--r--templates/repo/bare.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/bare.tmpl b/templates/repo/bare.tmpl
index f1e1d58542..ec4be2bdea 100644
--- a/templates/repo/bare.tmpl
+++ b/templates/repo/bare.tmpl
@@ -5,7 +5,7 @@
<div class="ui grid">
<div class="sixteen wide column content">
{{template "base/alert" .}}
- {{if .IsRepositoryWriter}}
+ {{if .CanWriteCode}}
<h4 class="ui top attached header">
{{.i18n.Tr "repo.quick_guide"}}
</h4>