diff options
author | Yarden Shoham <git@yardenshoham.com> | 2023-05-14 19:04:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-14 16:04:24 +0000 |
commit | 6d2c63f6ffcbcd4a928b39527ecfd2cb53a2828c (patch) | |
tree | 9ef75099e9ead639edcf1c79091c812c3c9972b4 /templates | |
parent | 5968c63a11c94b0fdde0485af194bebb2ea1b8e7 (diff) | |
download | gitea-6d2c63f6ffcbcd4a928b39527ecfd2cb53a2828c.tar.gz gitea-6d2c63f6ffcbcd4a928b39527ecfd2cb53a2828c.zip |
Don't filter action runs based on state (#24711)
We should just show all runs. This removes the filtering altogether.
- Replaces https://github.com/go-gitea/gitea/pull/24553
# Before


# After

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/actions/list.tmpl | 5 | ||||
-rw-r--r-- | templates/repo/actions/openclose.tmpl | 10 | ||||
-rw-r--r-- | templates/repo/actions/runs_list.tmpl | 2 |
3 files changed, 1 insertions, 16 deletions
diff --git a/templates/repo/actions/list.tmpl b/templates/repo/actions/list.tmpl index 2885aa0fbf..ca97b67faa 100644 --- a/templates/repo/actions/list.tmpl +++ b/templates/repo/actions/list.tmpl @@ -19,11 +19,6 @@ </div> </div> <div class="twelve wide column content"> - <div class="ui stackable grid"> - <div class="six wide column"> - {{template "repo/actions/openclose" .}} - </div> - </div> {{template "repo/actions/runs_list" .}} </div> </div> diff --git a/templates/repo/actions/openclose.tmpl b/templates/repo/actions/openclose.tmpl deleted file mode 100644 index 6874115a19..0000000000 --- a/templates/repo/actions/openclose.tmpl +++ /dev/null @@ -1,10 +0,0 @@ -<div class="small-menu-items ui compact tiny menu"> - <a class="{{if not .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=open"> - {{svg "octicon-issue-opened" 16 "gt-mr-3"}} - {{.locale.Tr "actions.runs.open_tab" $.NumOpenActionRuns}} - </a> - <a class="{{if .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=closed"> - {{svg "octicon-issue-closed" 16 "gt-mr-3"}} - {{.locale.Tr "actions.runs.closed_tab" $.NumClosedActionRuns}} - </a> -</div> diff --git a/templates/repo/actions/runs_list.tmpl b/templates/repo/actions/runs_list.tmpl index caa14b3390..fdef2e6446 100644 --- a/templates/repo/actions/runs_list.tmpl +++ b/templates/repo/actions/runs_list.tmpl @@ -1,4 +1,4 @@ -<div class="issue list"> +<div class="issue list gt-m-0"> {{range .Runs}} <li class="item gt-df gt-py-3 gt-ab"> <div class="issue-item-left gt-df gt-mr-2"> |