1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Prepare for v0.3.1 hotfix

This commit is contained in:
Unknown
2014-04-28 21:53:40 -04:00
parent 31805e2bbe
commit 2401e68d7e
7 changed files with 5 additions and 6 deletions

View File

@@ -8,13 +8,11 @@
<a class="pull-right btn btn-primary btn-sm" rel="nofollow" href="{{.SourcePath}}">Browse Source</a>
<h4>{{.Commit.Message}}</h4>
</div>
{{ $username := .Username }}
{{ $reponame := .Reponame }}
<div class="panel-body">
<span class="pull-right">
<ul class="list-unstyled">
{{range .Parents}}
<li>parent <a href="/{{$username}}/{{$reponame}}/commit/{{.}}"><span class="label label-default sha">{{ShortSha .}}</span></a></li>
<li>parent <a href="{{$.RepoLink}}/commit/{{.}}"><span class="label label-default sha">{{ShortSha .}}</span></a></li>
{{end}}
<li>commit <span class="label label-default sha">{{ShortSha .CommitId}}</span></li>
</ul>