diff options
author | 赵智超 <1012112796@qq.com> | 2020-09-16 10:07:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-16 10:07:09 +0800 |
commit | d8b5235dedbb69812aeb43218a8d35938259a1c3 (patch) | |
tree | 14d00ffbc858c197f8d889beb47b9ad856ec9669 /templates | |
parent | ace8a283f17d6dd9b2f995d8ea47a3978380f924 (diff) | |
download | gitea-d8b5235dedbb69812aeb43218a8d35938259a1c3.tar.gz gitea-d8b5235dedbb69812aeb43218a8d35938259a1c3.zip |
Add ui style for "Open a blank issue" button (#12824)
* Add ui style for "Open a blank issue" button
Signed-off-by: a1012112796 <1012112796@qq.com>
* Apply review suggestion @silverwind
* format
* format 2
* fix message
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/choose.tmpl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/repo/issue/choose.tmpl b/templates/repo/issue/choose.tmpl index 57f69f8c14..759c5437c1 100644 --- a/templates/repo/issue/choose.tmpl +++ b/templates/repo/issue/choose.tmpl @@ -19,7 +19,17 @@ </div> </div> {{end}} - <a href="{{.RepoLink}}/issues/new{{if .milestone}}?milestone={{.milestone}}{{end}}">{{.i18n.Tr "repo.issues.choose.blank"}}</a> + <div class="ui attached segment"> + <div class="ui two column grid"> + <div class="column left aligned"> + <strong>{{.i18n.Tr "repo.issues.choose.blank"}}</strong> + <br/>{{.i18n.Tr "repo.issues.choose.blank_about"}} + </div> + <div class="column right aligned"> + <a href="{{.RepoLink}}/issues/new{{if .milestone}}?milestone={{.milestone}}{{end}}" class="ui green button">{{$.i18n.Tr "repo.issues.choose.get_started"}}</a> + </div> + </div> + </div> </div> </div> {{template "base/footer" .}} |