]> source.dussan.org Git - gitea.git/commitdiff
Fix #65 fix #57
authorUnknown <joe2010xtmf@163.com>
Sat, 12 Apr 2014 01:55:22 +0000 (21:55 -0400)
committerUnknown <joe2010xtmf@163.com>
Sat, 12 Apr 2014 01:55:22 +0000 (21:55 -0400)
README.md
README_ZH.md
templates/repo/nav.tmpl

index a9176c5673536df95f207b7e34520793e367770e..d48c05c252fa6d2a91fcbcb63f3ea1f47a3345ae 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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.
index f4c20bb0aa75010ccf4d3b93491329a3f1d3c003..62996d4df8352d2443d1e321e86ec04af1b9f7ca 100644 (file)
@@ -25,7 +25,7 @@ Gogs 完全使用 Go 语言来实现对 Git 数据的操作,实现 **零** 依
 - 活动时间线
 - SSH/HTTP(S) 协议支持
 - 注册/删除/重命名用户
-- 创建/删除/关注/重命名/转移公开仓库
+- 创建/删除/关注/重命名/转移 公开/私有 仓库
 - 仓库浏览器
 - Bug 追踪系统
 - Gravatar 以及缓存支持
index 3ce27f921ea5b884cfe6ea731bec04a11a286082..f365ab6493bb6873c15ddfeba30414e708b88652 100644 (file)
@@ -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">