aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfnetX (aka fralix) <git@fralix.ovh>2022-02-03 11:28:27 +0100
committerGitHub <noreply@github.com>2022-02-03 11:28:27 +0100
commit1fc9f11253a7002adda309bc60529bcfebc7bf65 (patch)
treeb2e53cf11079bae5edf96af241dcc518601ae7c6
parent0dfe5fa2d69f92058207249a62308915ed60c435 (diff)
downloadgitea-1fc9f11253a7002adda309bc60529bcfebc7bf65.tar.gz
gitea-1fc9f11253a7002adda309bc60529bcfebc7bf65.zip
Add dropdown icon to template loading dropdown (#18571)
-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>