|
8 | 8 | <div class="ui stackable grid"> |
9 | 9 | <div class="four wide column"> |
10 | 10 | <div class="ui fluid vertical menu"> |
11 | | - <a class="item{{if not $.CurWorkflow}} active{{end}}" href="{{$.Link}}?actor={{$.CurActor}}&status={{$.CurStatus}}">{{ctx.Locale.Tr "actions.runs.all_workflows"}}</a> |
| 11 | + <a class="item{{if not $.CurWorkflow}} active{{end}}" href="?actor={{$.CurActor}}&status={{$.CurStatus}}">{{ctx.Locale.Tr "actions.runs.all_workflows"}}</a> |
12 | 12 | {{range .workflows}} |
13 | | - <a class="item{{if eq .Entry.Name $.CurWorkflow}} active{{end}}" href="{{$.Link}}?workflow={{.Entry.Name}}&actor={{$.CurActor}}&status={{$.CurStatus}}">{{.Entry.Name}} |
| 13 | + <a class="item{{if eq .Entry.Name $.CurWorkflow}} active{{end}}" href="?workflow={{.Entry.Name}}&actor={{$.CurActor}}&status={{$.CurStatus}}">{{.Entry.Name}} |
14 | 14 | {{if .ErrMsg}} |
15 | 15 | <span data-tooltip-content="{{.ErrMsg}}"> |
16 | 16 | {{svg "octicon-alert" 16 "text red"}} |
|
35 | 35 | <i class="icon">{{svg "octicon-search"}}</i> |
36 | 36 | <input type="text" placeholder="{{ctx.Locale.Tr "actions.runs.actor"}}"> |
37 | 37 | </div> |
38 | | - <a class="item{{if not $.CurActor}} active{{end}}" href="{{$.Link}}?workflow={{$.CurWorkflow}}&status={{$.CurStatus}}&actor=0"> |
| 38 | + <a class="item{{if not $.CurActor}} active{{end}}" href="?workflow={{$.CurWorkflow}}&status={{$.CurStatus}}&actor=0"> |
39 | 39 | {{ctx.Locale.Tr "actions.runs.actors_no_select"}} |
40 | 40 | </a> |
41 | 41 | {{range .Actors}} |
42 | | - <a class="item{{if eq .ID $.CurActor}} active{{end}}" href="{{$.Link}}?workflow={{$.CurWorkflow}}&actor={{.ID}}&status={{$.CurStatus}}"> |
| 42 | + <a class="item{{if eq .ID $.CurActor}} active{{end}}" href="?workflow={{$.CurWorkflow}}&actor={{.ID}}&status={{$.CurStatus}}"> |
43 | 43 | {{ctx.AvatarUtils.Avatar . 20}} {{.GetDisplayName}} |
44 | 44 | </a> |
45 | 45 | {{end}} |
|
54 | 54 | <i class="icon">{{svg "octicon-search"}}</i> |
55 | 55 | <input type="text" placeholder="{{ctx.Locale.Tr "actions.runs.status"}}"> |
56 | 56 | </div> |
57 | | - <a class="item{{if not $.CurStatus}} active{{end}}" href="{{$.Link}}?workflow={{$.CurWorkflow}}&actor={{$.CurActor}}&status=0"> |
| 57 | + <a class="item{{if not $.CurStatus}} active{{end}}" href="?workflow={{$.CurWorkflow}}&actor={{$.CurActor}}&status=0"> |
58 | 58 | {{ctx.Locale.Tr "actions.runs.status_no_select"}} |
59 | 59 | </a> |
60 | 60 | {{range .StatusInfoList}} |
61 | | - <a class="item{{if eq .Status $.CurStatus}} active{{end}}" href="{{$.Link}}?workflow={{$.CurWorkflow}}&actor={{$.CurActor}}&status={{.Status}}"> |
| 61 | + <a class="item{{if eq .Status $.CurStatus}} active{{end}}" href="?workflow={{$.CurWorkflow}}&actor={{$.CurActor}}&status={{.Status}}"> |
62 | 62 | {{.DisplayedStatus}} |
63 | 63 | </a> |
64 | 64 | {{end}} |
|
0 commit comments