diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-11 21:55:22 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-11 21:55:22 -0400 |
commit | 5d30bfc8baa1f012e6ac52b450915250be080815 (patch) | |
tree | 5ac422d4404743b1dc7e04d866c9f7062462ad60 | |
parent | 4fc5dcc7648c9e01e05f9dbf08e930ba325839d9 (diff) | |
download | gitea-5d30bfc8baa1f012e6ac52b450915250be080815.tar.gz gitea-5d30bfc8baa1f012e6ac52b450915250be080815.zip |
Fix #65 fix #57
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | README_ZH.md | 2 | ||||
-rw-r--r-- | templates/repo/nav.tmpl | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -31,7 +31,7 @@ More importantly, Gogs only needs one binary to setup your own project hosting o - Activity timeline - SSH/HTTP(S) protocol support. - Register/delete/rename account. -- Create/delete/watch/rename/transfer public repository. +- Create/delete/watch/rename/transfer public/private repository. - Repository viewer. - Issue tracker. - Gravatar and cache support. diff --git a/README_ZH.md b/README_ZH.md index f4c20bb0aa..62996d4df8 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -25,7 +25,7 @@ Gogs 完全使用 Go 语言来实现对 Git 数据的操作,实现 **零** 依 - 活动时间线 - SSH/HTTP(S) 协议支持 - 注册/删除/重命名用户 -- 创建/删除/关注/重命名/转移公开仓库 +- 创建/删除/关注/重命名/转移 公开/私有 仓库 - 仓库浏览器 - Bug 追踪系统 - Gravatar 以及缓存支持 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"> |