From d8b5235dedbb69812aeb43218a8d35938259a1c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=99=BA=E8=B6=85?= <1012112796@qq.com> Date: Wed, 16 Sep 2020 10:07:09 +0800 Subject: [PATCH] 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 Co-authored-by: Lunny Xiao --- options/locale/locale_en-US.ini | 3 ++- templates/repo/issue/choose.tmpl | 12 +++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 4430c4880..376a63125 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -940,7 +940,8 @@ issues.new.no_assignees = No Assignees issues.new.no_reviewers = No reviewers issues.new.add_reviewer_title = Request review issues.choose.get_started = Get Started -issues.choose.blank = Open a blank issue +issues.choose.blank = Default +issues.choose.blank_about = Create an issue from default template. issues.no_ref = No Branch/Tag Specified issues.create = Create Issue issues.new_label = New Label diff --git a/templates/repo/issue/choose.tmpl b/templates/repo/issue/choose.tmpl index 57f69f8c1..759c5437c 100644 --- a/templates/repo/issue/choose.tmpl +++ b/templates/repo/issue/choose.tmpl @@ -19,7 +19,17 @@ {{end}} - {{.i18n.Tr "repo.issues.choose.blank"}} +
+
+
+ {{.i18n.Tr "repo.issues.choose.blank"}} +
{{.i18n.Tr "repo.issues.choose.blank_about"}} +
+ +
+
{{template "base/footer" .}}