2014-04-02 18:43:31 +02:00
|
|
|
{{template "base/head" .}}
|
|
|
|
{{template "base/navbar" .}}
|
|
|
|
{{template "repo/nav" .}}
|
|
|
|
{{template "repo/toolbar" .}}
|
|
|
|
<div id="body" class="container">
|
2014-04-04 14:54:00 +02:00
|
|
|
<div id="release">
|
|
|
|
<h4 id="release-head">
|
2014-04-14 04:20:28 +02:00
|
|
|
<span class="release"><strong>Releases</strong></span><!-- /
|
2014-09-20 02:11:34 +02:00
|
|
|
<a class="tag" href="{{AppSubUrl}}/{tag_link}">Tags</a> -->
|
2014-04-04 14:54:00 +02:00
|
|
|
<!-- comment : if in tag page, show a.release and span.tag please -->
|
|
|
|
</h4>
|
|
|
|
<ul id="release-list" class="list-unstyled">
|
2014-04-14 07:57:25 +02:00
|
|
|
{{range .Releases}}
|
2014-06-12 15:10:39 +02:00
|
|
|
<li class="release-item clearfix" id="release-{{.Sha1}}">
|
2014-04-14 07:57:25 +02:00
|
|
|
{{if .PublisherId}}
|
2014-04-04 14:54:00 +02:00
|
|
|
<div class="col-md-2 text-right">
|
2014-06-12 23:47:23 +02:00
|
|
|
{{if .IsDraft}}
|
|
|
|
<span class="btn btn-primary status pre-release">Draft</span>
|
|
|
|
{{else if .IsPrerelease}}
|
|
|
|
<span class="btn btn-warning status pre-release">Pre-Release</span>
|
|
|
|
{{else}}
|
|
|
|
<span class="btn btn-success status stable">Stable</span>
|
|
|
|
{{end}}
|
2014-04-27 09:05:13 +02:00
|
|
|
<a class="tag" href="{{$.RepoLink}}/src/{{.TagName}}" rel="nofollow"><i class="fa fa-tag"></i>{{.TagName}}</a>
|
2014-06-12 15:10:39 +02:00
|
|
|
<a class="commit" href="{{$.RepoLink}}/src/{{.Sha1}}" rel="nofollow"><i class="fa fa-code"></i>{{ShortSha .Sha1}}</a>
|
2014-04-04 14:54:00 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-md-10">
|
2014-06-12 23:47:23 +02:00
|
|
|
<h4 class="title"><a href="{{$.RepoLink}}/src/{{.TagName}}">{{.Title}}</a> <small>(<a href="{{$.RepoLink}}/releases/edit/{{.TagName}}" rel="nofollow">edit</a>)</small></h4>
|
2014-04-04 14:54:00 +02:00
|
|
|
<p class="info">
|
2014-04-14 07:57:25 +02:00
|
|
|
<span class="author"><img class="avatar" src="{{.Publisher.AvatarLink}}" alt="" width="20">
|
2014-09-20 02:11:34 +02:00
|
|
|
<a href="{{AppSubUrl}}/user/{{.Publisher.Name}}">{{.Publisher.Name}}</a></span>
|
2014-09-16 09:55:41 +02:00
|
|
|
{{if .Created}}<span class="time">{{TimeSince .Created $.Lang}}</span>{{end}}
|
2014-06-12 23:47:23 +02:00
|
|
|
<span class="ahead"><strong>{{.NumCommitsBehind}}</strong> commits to {{.Target}} since this release</span>
|
2014-04-04 14:54:00 +02:00
|
|
|
</p>
|
2014-04-14 07:57:25 +02:00
|
|
|
<div class="markdown desc">
|
|
|
|
{{str2html .Note}}
|
|
|
|
</div>
|
2014-04-04 14:54:00 +02:00
|
|
|
<p class="download">
|
2014-09-24 23:43:33 +02:00
|
|
|
<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>
|
2014-04-04 14:54:00 +02:00
|
|
|
</p>
|
|
|
|
<span class="dot"> </span>
|
|
|
|
</div>
|
2014-04-14 07:57:25 +02:00
|
|
|
{{else}}
|
2014-04-04 14:54:00 +02:00
|
|
|
<div class="col-md-2 text-right">
|
2014-06-12 15:10:39 +02:00
|
|
|
<a class="commit" href="{{$.RepoLink}}/src/{{.Sha1}}" rel="nofollow"><i class="fa fa-code"></i>{{ShortSha .Sha1}}</a>
|
2014-04-04 14:54:00 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-md-10">
|
2014-04-27 09:05:13 +02:00
|
|
|
<h5 class="title"><a href="{{$.RepoLink}}/src/{{.TagName}}" rel="nofollow">{{.TagName}}</a><i class="fa fa-tag"></i></h5>
|
2014-04-04 14:54:00 +02:00
|
|
|
<p class="download">
|
2014-09-24 23:43:33 +02:00
|
|
|
<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>
|
2014-04-04 14:54:00 +02:00
|
|
|
</p>
|
|
|
|
<span class="dot"> </span>
|
|
|
|
</div>
|
2014-04-14 07:57:25 +02:00
|
|
|
{{end}}
|
2014-04-04 14:54:00 +02:00
|
|
|
</li>
|
2014-04-14 07:57:25 +02:00
|
|
|
{{end}}
|
2014-04-04 14:54:00 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
2014-04-02 18:43:31 +02:00
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|