diff options
author | Brecht Van Lommel <brecht@blender.org> | 2023-01-31 23:40:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-31 22:40:38 +0000 |
commit | 1947409ef07f2dc4e0eab7482368816261510133 (patch) | |
tree | d2f003de0d74066c081939c46610f480a797ecc2 /templates | |
parent | cc910014ab0df4d252ee61995df37b4a4cb92e06 (diff) | |
download | gitea-1947409ef07f2dc4e0eab7482368816261510133.tar.gz gitea-1947409ef07f2dc4e0eab7482368816261510133.zip |
Fix missing title and filter in issue sidebar project menu (#22557)
These exist in the new issue form but were seemingly forgotten here.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/view_content/sidebar.tmpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index ca947e3612..10bb6a07f9 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -212,6 +212,13 @@ {{end}} </a> <div class="menu" data-action="update" data-issue-id="{{$.Issue.ID}}" data-update-url="{{$.RepoLink}}/issues/projects"> + <div class="header" style="text-transform: none;font-size:16px;">{{.locale.Tr "repo.issues.new.add_project_title"}}</div> + {{if or .OpenProjects .ClosedProjects}} + <div class="ui icon search input"> + <i class="icon df ac jc">{{svg "octicon-search" 16}}</i> + <input type="text" placeholder="{{.locale.Tr "repo.issues.filter_projects"}}"> + </div> + {{end}} <div class="no-select item">{{.locale.Tr "repo.issues.new.clear_projects"}}</div> {{if .OpenProjects}} <div class="divider"></div> |