0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 00:11:24 +01:00

feat: Add branch link in branch list. (#3576)

This commit is contained in:
Bo-Yi Wu 2018-02-25 05:17:59 +08:00 committed by Lauris BH
parent d2d0aea8a1
commit fc265b036f

View file

@ -38,10 +38,10 @@
<tr> <tr>
<td> <td>
{{if .IsDeleted}} {{if .IsDeleted}}
<s>{{.Name}}</s> <s><a href="{{$.RepoLink}}/src/branch/{{.Name}}">{{.Name}}</a></s>
<p class="time">{{$.i18n.Tr "repo.branch.deleted_by" .DeletedBranch.DeletedBy.Name}} {{TimeSinceUnix .DeletedBranch.DeletedUnix $.i18n.Lang}}</p> <p class="time">{{$.i18n.Tr "repo.branch.deleted_by" .DeletedBranch.DeletedBy.Name}} {{TimeSinceUnix .DeletedBranch.DeletedUnix $.i18n.Lang}}</p>
{{else}} {{else}}
{{.Name}} <a href="{{$.RepoLink}}/src/branch/{{.Name}}">{{.Name}}</a>
<p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Commit.Committer.When $.i18n.Lang}}</p> <p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Commit.Committer.When $.i18n.Lang}}</p>
</td> </td>
{{end}} {{end}}