From 0066bc511321d393065fb17a0c91f15b8e483fe5 Mon Sep 17 00:00:00 2001 From: parnic Date: Mon, 8 Aug 2022 15:03:58 -0500 Subject: Add issue filter for Author (#20578) This adds a new filter option on the issues and pulls pages to filter by the author/poster/creator of the issue or PR --- templates/repo/issue/list.tmpl | 54 +++++++++++++++++++----------- templates/repo/issue/milestone_issues.tmpl | 46 ++++++++++++++++--------- templates/repo/issue/openclose.tmpl | 4 +-- templates/repo/issue/search.tmpl | 1 + 4 files changed, 69 insertions(+), 36 deletions(-) (limited to 'templates/repo/issue') diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 2a53239f1c..8e8c256c59 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -46,9 +46,9 @@ @@ -60,9 +60,25 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} + + + + @@ -74,9 +90,9 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} @@ -109,14 +125,14 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index 484d0a8110..0f00e9284a 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -52,9 +52,25 @@ + + + + @@ -66,9 +82,9 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} {{end}} @@ -100,12 +116,12 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} diff --git a/templates/repo/issue/openclose.tmpl b/templates/repo/issue/openclose.tmpl index 9242d0c5ca..ccfb40684c 100644 --- a/templates/repo/issue/openclose.tmpl +++ b/templates/repo/issue/openclose.tmpl @@ -1,5 +1,5 @@ -- cgit v1.2.3