mirror of https://github.com/go-gitea/gitea.git
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>pull/12881/head
parent
ace8a283f1
commit
d8b5235ded
|
@ -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
|
||||
|
|
|
@ -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" .}}
|
||||
|
|
Loading…
Reference in New Issue