summaryrefslogtreecommitdiffstats
path: root/templates/repo/bare.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/bare.tmpl')
-rw-r--r--templates/repo/bare.tmpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/repo/bare.tmpl b/templates/repo/bare.tmpl
index af45e672c5..b72738fe34 100644
--- a/templates/repo/bare.tmpl
+++ b/templates/repo/bare.tmpl
@@ -8,9 +8,6 @@
{{if .IsRepositoryAdmin}}
<h4 class="ui top attached header">
{{.i18n.Tr "repo.quick_guide"}}
- <div class="ui right">
- <a class="ui black tiny button" href="{{.RepoLink}}/settings">{{.i18n.Tr "repo.settings"}}</a>
- </div>
</h4>
<div class="ui attached guide table segment">
<div class="item">
@@ -58,6 +55,10 @@ git push -u origin master</code></pre>
git push -u origin master</code></pre>
</div>
</div>
+ {{else}}
+ <div class="ui segment center">
+ {{.i18n.Tr "repo.bare_message"}}
+ </div>
{{end}}
</div>
</div>