diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-24 17:43:33 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-24 17:43:33 -0400 |
commit | 25268577a53bd326b21866c792d7ec390a6e4d94 (patch) | |
tree | 457fbb28905efe99389e4db5bcfb413ca05f4d4d /templates | |
parent | 612fdb98df0ff84c81603a5c8d66a5f2f4395bd5 (diff) | |
download | gitea-25268577a53bd326b21866c792d7ec390a6e4d94.tar.gz gitea-25268577a53bd326b21866c792d7ec390a6e4d94.zip |
Fix download archive issue
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/repo/release/list.tmpl | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index 23f5f0fe59..49d86b406c 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.5.4.0923 Beta
\ No newline at end of file +0.5.4.0924 Beta
\ No newline at end of file diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 58a050ab56..1eb11fc5e6 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -36,8 +36,8 @@ {{str2html .Note}} </div> <p class="download"> - <a class="btn btn-default" href="{{$.RepoLink}}/archive/{{.TagName}}/{{$.Repository.Name}}.zip" rel="nofollow"><i class="fa fa-download"></i>Source Code (ZIP)</a> - <a class="btn btn-default" href="{{$.RepoLink}}/archive/{{.TagName}}/{{$.Repository.Name}}.tar.gz"><i class="fa fa-download"></i>Source Code (TAR.GZ)</a> + <a class="btn btn-default" href="{{$.RepoLink}}/archive/{{.TagName}}.zip" rel="nofollow"><i class="fa fa-download"></i>Source Code (ZIP)</a> + <a class="btn btn-default" href="{{$.RepoLink}}/archive/{{.TagName}}.tar.gz"><i class="fa fa-download"></i>Source Code (TAR.GZ)</a> </p> <span class="dot"> </span> </div> @@ -48,8 +48,8 @@ <div class="col-md-10"> <h5 class="title"><a href="{{$.RepoLink}}/src/{{.TagName}}" rel="nofollow">{{.TagName}}</a><i class="fa fa-tag"></i></h5> <p class="download"> - <a class="download-link" href="{{$.RepoLink}}/archive/{{.TagName}}/{{$.Repository.Name}}.zip" rel="nofollow"><i class="fa fa-download"></i>zip</a> - <a class="download-link" href="{{$.RepoLink}}/archive/{{.TagName}}/{{$.Repository.Name}}.tar.gz"><i class="fa fa-download"></i>tar.gz</a> + <a class="download-link" href="{{$.RepoLink}}/archive/{{.TagName}}.zip" rel="nofollow"><i class="fa fa-download"></i>zip</a> + <a class="download-link" href="{{$.RepoLink}}/archive/{{.TagName}}.tar.gz"><i class="fa fa-download"></i>tar.gz</a> </p> <span class="dot"> </span> </div> |