aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/nav.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-11 21:55:22 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-11 21:55:22 -0400
commit5d30bfc8baa1f012e6ac52b450915250be080815 (patch)
tree5ac422d4404743b1dc7e04d866c9f7062462ad60 /templates/repo/nav.tmpl
parent4fc5dcc7648c9e01e05f9dbf08e930ba325839d9 (diff)
downloadgitea-5d30bfc8baa1f012e6ac52b450915250be080815.tar.gz
gitea-5d30bfc8baa1f012e6ac52b450915250be080815.zip
Fix #65 fix #57
Diffstat (limited to 'templates/repo/nav.tmpl')
-rw-r--r--templates/repo/nav.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl
index 3ce27f921e..f365ab6493 100644
--- a/templates/repo/nav.tmpl
+++ b/templates/repo/nav.tmpl
@@ -2,7 +2,7 @@
<div class="container">
<div class="row">
<div class="col-md-7">
- <h3 class="name"><i class="fa fa-book fa-lg"></i><a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> / <a href="/{{.Owner.Name}}/{{.Repository.Name}}">{{.Repository.Name}}</a></h3>
+ <h3 class="name"><i class="fa fa-book fa-lg"></i><a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> / <a href="/{{.Owner.Name}}/{{.Repository.Name}}">{{.Repository.Name}}</a>{{if .Repository.IsPrivate}} <span class="label label-default">Private</span> {{end}}</h3>
<p class="desc">{{.Repository.Description}}{{if .Repository.Website}} <a href="{{.Repository.Website}}">{{.Repository.Website}}</a>{{end}}</p>
</div>
<div class="col-md-5 actions text-right clone-group-btn">