mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
parent
73b63d9311
commit
fb74fe99d6
@ -83,6 +83,7 @@
|
|||||||
{{if .GetOpType.InActions "commit_repo" "mirror_sync_push"}}
|
{{if .GetOpType.InActions "commit_repo" "mirror_sync_push"}}
|
||||||
{{$push := ActionContent2Commits .}}
|
{{$push := ActionContent2Commits .}}
|
||||||
{{$repoLink := (.GetRepoLink ctx)}}
|
{{$repoLink := (.GetRepoLink ctx)}}
|
||||||
|
{{$repo := .Repo}}
|
||||||
<div class="gt-df gt-fc gt-gap-2">
|
<div class="gt-df gt-fc gt-gap-2">
|
||||||
{{range $push.Commits}}
|
{{range $push.Commits}}
|
||||||
{{$commitLink := printf "%s/commit/%s" $repoLink .Sha1}}
|
{{$commitLink := printf "%s/commit/%s" $repoLink .Sha1}}
|
||||||
@ -90,7 +91,7 @@
|
|||||||
<img class="ui avatar" src="{{$push.AvatarLink $.Context .AuthorEmail}}" title="{{.AuthorName}}" width="16" height="16">
|
<img class="ui avatar" src="{{$push.AvatarLink $.Context .AuthorEmail}}" title="{{.AuthorName}}" width="16" height="16">
|
||||||
<a class="ui sha label" href="{{$commitLink}}">{{ShortSha .Sha1}}</a>
|
<a class="ui sha label" href="{{$commitLink}}">{{ShortSha .Sha1}}</a>
|
||||||
<span class="text truncate">
|
<span class="text truncate">
|
||||||
{{RenderCommitMessage $.Context .Message $repoLink ($.ComposeMetas ctx)}}
|
{{RenderCommitMessage $.Context .Message $repoLink ($repo.ComposeMetas ctx)}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
Loading…
Reference in New Issue
Block a user