diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-14 02:50:13 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-14 02:50:13 -0400 |
commit | 57f84fb0516d46b27c60554730956f0c9dff68dd (patch) | |
tree | 8458cee5991c035e09f28a2426e8cdcd4fa89200 | |
parent | f644cefa865c04b440902695ba90114b224c640d (diff) | |
download | gitea-57f84fb0516d46b27c60554730956f0c9dff68dd.tar.gz gitea-57f84fb0516d46b27c60554730956f0c9dff68dd.zip |
UPDATE DOCS
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | README_ZH.md | 2 | ||||
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | templates/admin/config.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/nav.tmpl | 6 | ||||
-rw-r--r-- | templates/repo/toolbar.tmpl | 6 |
6 files changed, 11 insertions, 11 deletions
@@ -9,7 +9,7 @@ Gogs(Go Git Service) is a Self Hosted Git Service in the Go Programming Language ### NOTICES -- Due to testing purpose, data of [try.gogits.org](http://try.gogits.org) has been reset in **April 6, 2014** and will reset multiple times after. Please do **NOT** put your important data on the site. +- Due to testing purpose, data of [try.gogits.org](http://try.gogits.org) has been reset in **April 14, 2014** and will reset multiple times after. Please do **NOT** put your important data on the site. - Demo site [try.gogits.org](http://try.gogits.org) is running under `dev` branch. #### Other language version @@ -35,7 +35,7 @@ More importantly, Gogs only needs one binary to setup your own project hosting o - SSH/HTTP(S) protocol support. - Register/delete/rename account. - Create/migrate/mirror/delete/watch/rename/transfer public/private repository. -- Repository viewer/issue tracker. +- Repository viewer/release/issue tracker. - Gravatar and cache support. - Mail service(register, issue). - Administration panel. diff --git a/README_ZH.md b/README_ZH.md index 97ab07ff23..dca9861ba1 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -26,7 +26,7 @@ Gogs 完全使用 Go 语言来实现对 Git 数据的操作,实现 **零** 依 - SSH/HTTP(S) 协议支持 - 注册/删除/重命名用户 - 创建/迁移/镜像/删除/关注/重命名/转移 公开/私有 仓库 -- 仓库 浏览器/Bug 追踪 +- 仓库 浏览器/发布/缺陷追踪 - Gravatar 以及缓存支持 - 邮件服务(注册、Issue) - 管理员面板 @@ -19,7 +19,7 @@ import ( // Test that go1.2 tag above is included in builds. main.go refers to this definition. const go12tag = true -const APP_VER = "0.2.9.0413 Alpha" +const APP_VER = "0.2.9.0414 Alpha" func init() { base.AppVer = APP_VER diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index 757a800c20..8263763d0c 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -115,7 +115,7 @@ <dd><i class="fa fa{{if .Oauther.Tencent}}-check{{end}}-square-o"></i></dd> <dt>Weibo</dt> <dd><i class="fa fa{{if .Oauther.Weibo}}-check{{end}}-square-o"></i></dd> - <dd>{{.Mailer.User}}</dd>{{end}} + {{end}} </dl> </div> </div> diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl index f9f74dd194..9cbbc9318d 100644 --- a/templates/repo/nav.tmpl +++ b/templates/repo/nav.tmpl @@ -24,10 +24,10 @@ </span> </div> <p class="help-block text-center">Need help cloning? Visit <a href="#">Help</a>!</p> - <!-- <hr/> + <hr/> <div class="clone-zip text-center"> - <a class="btn btn-success btn-lg" href="#"><i class="fa fa-suitcase"></i>Download ZIP</a> - </div> --> + <a class="btn btn-success btn-lg" href="{{.RepoLink}}/archive/{{.BranchName}}/{{.Repository.Name}}.zip"><i class="fa fa-suitcase"></i>Download ZIP</a> + </div> </div> </div> <div class="btn-group {{if .IsRepositoryWatching}}watching{{else}}no-watching{{end}}" id="repo-watching" data-watch="/{{.Owner.Name}}/{{.Repository.Name}}/action/watch" data-unwatch="/{{.Owner.Name}}/{{.Repository.Name}}/action/unwatch"> diff --git a/templates/repo/toolbar.tmpl b/templates/repo/toolbar.tmpl index bde5bc29e1..a14aae9ca9 100644 --- a/templates/repo/toolbar.tmpl +++ b/templates/repo/toolbar.tmpl @@ -14,9 +14,9 @@ </a>{{end}}</li> {{end}} <li class="{{if .IsRepoToolbarReleases}}active{{end}}"><a href="{{.RepoLink}}/releases">{{if .Repository.NumTags}}<span class="badge">{{.Repository.NumTags}}</span> {{end}}Releases</a></li> - {{if .IsRepoToolbarReleases}} - <li class="tmp">{{if not .IsRepoReleaseNew}}<a href="{{.RepoLink}}/releases/new"><button class="btn btn-primary btn-sm">New Release</button></a>{{end}}</li> - {{end}} + {{if .IsRepoToolbarReleases}}{{if .IsRepositoryOwner}}{{if not .IsRepoReleaseNew}} + <li class="tmp"><a href="{{.RepoLink}}/releases/new"><button class="btn btn-primary btn-sm">New Release</button></a></li> + {{end}}{{end}}{{end}} <!-- <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a> <ul class="dropdown-menu"> |