From 5d30bfc8baa1f012e6ac52b450915250be080815 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 11 Apr 2014 21:55:22 -0400 Subject: [PATCH] Fix #65 fix #57 --- README.md | 2 +- README_ZH.md | 2 +- templates/repo/nav.tmpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a9176c5673..d48c05c252 100644 --- 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. 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 @@
-

{{.Owner.Name}} / {{.Repository.Name}}

+

{{.Owner.Name}} / {{.Repository.Name}}{{if .Repository.IsPrivate}} Private {{end}}

{{.Repository.Description}}{{if .Repository.Website}} {{.Repository.Website}}{{end}}