mirror of https://github.com/go-gitea/gitea.git
add div to tmpl
This commit is contained in:
parent
220c3221cb
commit
d30004a596
|
@ -17,12 +17,14 @@
|
||||||
<div class="flex-item-body">
|
<div class="flex-item-body">
|
||||||
<b>{{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}</b>:
|
<b>{{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}</b>:
|
||||||
{{- if .ScheduleID -}}
|
{{- if .ScheduleID -}}
|
||||||
{{ctx.Locale.Tr "actions.runs.scheduled"}}
|
<div>{{ctx.Locale.Tr "actions.runs.scheduled"}}</div>
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ctx.Locale.Tr "actions.runs.commit"}}
|
<div>
|
||||||
<a href="{{$.RepoLink}}/commit/{{.CommitSHA}}">{{ShortSha .CommitSHA}}</a>
|
{{ctx.Locale.Tr "actions.runs.commit"}}
|
||||||
{{ctx.Locale.Tr "actions.runs.pushed_by"}}
|
<a href="{{$.RepoLink}}/commit/{{.CommitSHA}}">{{ShortSha .CommitSHA}}</a>
|
||||||
<a href="{{.TriggerUser.HomeLink}}">{{.TriggerUser.GetDisplayName}}</a>
|
{{ctx.Locale.Tr "actions.runs.pushed_by"}}
|
||||||
|
<a href="{{.TriggerUser.HomeLink}}">{{.TriggerUser.GetDisplayName}}</a>
|
||||||
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue