diff options
author | Unknown <joe2010xtmf@163.com> | 2014-06-12 09:10:39 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-06-12 09:10:39 -0400 |
commit | 9961f9a53c4e3be1b224ad618b35c175143a0daa (patch) | |
tree | a44972bdc8e7785368d0ab05a1bf947532bdcbca /templates/release | |
parent | 1161c71ac1f6f2030c9e21633aa127c0cbfbdccb (diff) | |
download | gitea-9961f9a53c4e3be1b224ad618b35c175143a0daa.tar.gz gitea-9961f9a53c4e3be1b224ad618b35c175143a0daa.zip |
Fix #197
Diffstat (limited to 'templates/release')
-rw-r--r-- | templates/release/list.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/release/list.tmpl b/templates/release/list.tmpl index edbc7467b4..2607dfacd9 100644 --- a/templates/release/list.tmpl +++ b/templates/release/list.tmpl @@ -11,12 +11,12 @@ </h4> <ul id="release-list" class="list-unstyled"> {{range .Releases}} - <li class="release-item clearfix" id="release-{{.SHA1}}"> + <li class="release-item clearfix" id="release-{{.Sha1}}"> {{if .PublisherId}} <div class="col-md-2 text-right"> {{if .IsPrerelease}}<span class="btn btn-warning status pre-release">Pre-Release</span>{{else}}<span class="btn btn-success status stable">Stable</span>{{end}} <a class="tag" href="{{$.RepoLink}}/src/{{.TagName}}" rel="nofollow"><i class="fa fa-tag"></i>{{.TagName}}</a> - <a class="commit" href="{{$.RepoLink}}/src/{{.SHA1}}" rel="nofollow"><i class="fa fa-code"></i>{{ShortSha .SHA1}}</a> + <a class="commit" href="{{$.RepoLink}}/src/{{.Sha1}}" rel="nofollow"><i class="fa fa-code"></i>{{ShortSha .Sha1}}</a> </div> <div class="col-md-10"> <h4 class="title"><a href="{{$.RepoLink}}/src/{{.TagName}}">{{.Title}}</a></h4> @@ -37,7 +37,7 @@ </div> {{else}} <div class="col-md-2 text-right"> - <a class="commit" href="{{$.RepoLink}}/src/{{.SHA1}}" rel="nofollow"><i class="fa fa-code"></i>{{ShortSha .SHA1}}</a> + <a class="commit" href="{{$.RepoLink}}/src/{{.Sha1}}" rel="nofollow"><i class="fa fa-code"></i>{{ShortSha .Sha1}}</a> </div> <div class="col-md-10"> <h5 class="title"><a href="{{$.RepoLink}}/src/{{.TagName}}" rel="nofollow">{{.TagName}}</a><i class="fa fa-tag"></i></h5> |