aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorfnetX (aka fralix) <git@fralix.ovh>2022-02-03 09:13:22 +0100
committerGitHub <noreply@github.com>2022-02-03 08:13:22 +0000
commitc8c591073b6c606b3d2b7b0110b444b223790e5f (patch)
tree7f40708f3d2795dec5e7874fb2883e32d673ef68 /templates
parent76e31115965164112a6dfdbd297632431e896e5e (diff)
downloadgitea-c8c591073b6c606b3d2b7b0110b444b223790e5f.tar.gz
gitea-c8c591073b6c606b3d2b7b0110b444b223790e5f.zip
Add dropdown icon to template loading dropdown (#18564)
Fixes #15679 and the dupe of it: Fixes #16364. Also removes a comment that links to a gogs forum thread.
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/labels/label_load_template.tmpl7
1 files changed, 1 insertions, 6 deletions
diff --git a/templates/repo/issue/labels/label_load_template.tmpl b/templates/repo/issue/labels/label_load_template.tmpl
index 037069c29b..e75a7bef5f 100644
--- a/templates/repo/issue/labels/label_load_template.tmpl
+++ b/templates/repo/issue/labels/label_load_template.tmpl
@@ -1,12 +1,6 @@
<div class="ui centered grid">
<div class="twelve wide computer column">
<div class="ui attached left aligned segment">
- <!-- <h4 class="ui header">
- {{.i18n.Tr "repo.issues.label_templates.title"}}
- <a target="_blank" rel="noopener noreferrer" href="https://discuss.gogs.io/t/how-to-use-predefined-label-templates/599">
- <span class="octicon octicon-question"></span>
- </a>
- </h4> -->
<p>{{.i18n.Tr "repo.issues.label_templates.info"}}</p>
<br/>
<form class="ui form center" action="{{.Link}}/initialize" method="post">
@@ -20,6 +14,7 @@
<div class="item" data-value="{{$template}}">{{$template}}<br/><i>({{$labels}})</i></div>
{{end}}
</div>
+ {{svg "octicon-triangle-down" 18 "dropdown icon"}}
</div>
</div>
<button type="submit" class="ui blue button">{{.i18n.Tr "repo.issues.label_templates.use"}}</button>