Skip to content

Commit 04fb637

Browse files
committed
template
1 parent 9298b10 commit 04fb637

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/actions/runs_list.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{{template "repo/actions/status" (dict "status" .Status.String)}}
1212
</div>
1313
<div class="flex-item-main">
14-
<a class="flex-item-title" title="{{.Title}}" href="{{if .Link}}{{.Link}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
14+
<a class="flex-item-title" title="{{.Title}}" href="{{.Link}}">
1515
{{if .Title}}{{.Title}}{{else}}{{ctx.Locale.Tr "actions.runs.empty_commit_message"}}{{end}}
1616
</a>
1717
<div class="flex-item-body">
@@ -36,7 +36,7 @@
3636
<div class="run-list-meta">{{svg "octicon-calendar" 16}}{{DateUtils.TimeSince .Updated}}</div>
3737
<div class="run-list-meta">{{svg "octicon-stopwatch" 16}}{{.Duration}}</div>
3838
</div>
39-
{{if and ($.AllowDeleteWorkflowRuns) (.Link) (.Status.IsDone)}}
39+
{{if and ($.AllowDeleteWorkflowRuns) (.Status.IsDone)}}
4040
<button class="ui btn interact-bg link-action tw-p-2"
4141
data-url="{{.Link}}/delete"
4242
data-modal-confirm="{{ctx.Locale.Tr "actions.runs.delete.description"}}"

0 commit comments

Comments
 (0)