File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 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- <button class="ui btn interact-bg link-action tw-p-2"
40- data-url="{{$.Link}}/{{.Index}}/delete"
41- data-modal-confirm="{{ctx.Locale.Tr "actions.runs.delete.description"}}"
42- data-tooltip-content="{{ctx.Locale.Tr "actions.runs.delete"}}"
43- >
44- {{svg "octicon-trash"}}
45- </button>
39+ <!-- TODO: ? -->
40+ {{if .Link}}
41+ <button class="ui btn interact-bg link-action tw-p-2"
42+ data-url="{{.Link}}/delete"
43+ data-modal-confirm="{{ctx.Locale.Tr "actions.runs.delete.description"}}"
44+ data-tooltip-content="{{ctx.Locale.Tr "actions.runs.delete"}}"
45+ >
46+ {{svg "octicon-trash"}}
47+ </button>
48+ {{end}}
4649 </div>
4750 </div>
4851 {{end}}
You can’t perform that action at this time.
0 commit comments