mirror of https://github.com/go-gitea/gitea.git
fix #1886
This commit is contained in:
parent
3a81fdf092
commit
1b5e1bebc2
|
@ -36,7 +36,7 @@
|
||||||
<img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/> {{.Author.Name}}
|
<img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/> {{.Author.Name}}
|
||||||
{{end}}
|
{{end}}
|
||||||
</td>
|
</td>
|
||||||
<td class="sha"><a rel="nofollow" class="ui green sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.Id}} ">{{SubStr .Id.String 0 10}} </a></td>
|
<td class="sha"><a rel="nofollow" class="ui green sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}} ">{{SubStr .ID.String 0 10}} </a></td>
|
||||||
<td class="message"><span class="text truncate">{{RenderCommitMessage .Summary $.RepoLink}}</span></td>
|
<td class="message"><span class="text truncate">{{RenderCommitMessage .Summary $.RepoLink}}</span></td>
|
||||||
<td class="date">{{TimeSince .Author.When $.Lang}}</td>
|
<td class="date">{{TimeSince .Author.When $.Lang}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
<span class="last-commit"><a href="{{.RepoLink}}/commit/{{.LastCommit.Id}}" rel="nofollow">
|
<span class="last-commit"><a href="{{.RepoLink}}/commit/{{.LastCommit.ID}}" rel="nofollow">
|
||||||
<strong>{{ShortSha .LastCommit.Id.String}}</strong></a>
|
<strong>{{ShortSha .LastCommit.ID.String}}</strong></a>
|
||||||
<span class="text-truncate">{{RenderCommitMessage .LastCommit.Summary .RepoLink}}</span>
|
<span class="text-truncate">{{RenderCommitMessage .LastCommit.Summary .RepoLink}}</span>
|
||||||
</span>
|
</span>
|
||||||
<span class="age right">{{TimeSince .LastCommit.Author.When $.Lang}}</span>
|
<span class="age right">{{TimeSince .LastCommit.Author.When $.Lang}}</span>
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
</td>
|
</td>
|
||||||
{{end}}
|
{{end}}
|
||||||
<td class="sha">
|
<td class="sha">
|
||||||
<a rel="nofollow" class="label label-green" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.Id}} ">{{SubStr $commit.Id.String 0 10}} </a>
|
<a rel="nofollow" class="label label-green" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.ID}} ">{{SubStr $commit.ID.String 0 10}} </a>
|
||||||
</td>
|
</td>
|
||||||
<td class="message">
|
<td class="message">
|
||||||
<span class="text-truncate">{{RenderCommitMessage $commit.Summary $.RepoLink}}</span>
|
<span class="text-truncate">{{RenderCommitMessage $commit.Summary $.RepoLink}}</span>
|
||||||
|
|
Loading…
Reference in New Issue