mirror of
https://github.com/go-gitea/gitea
synced 2024-11-18 08:04:25 +00:00
d8b5235ded
* 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>
36 lines
1.2 KiB
Cheetah
36 lines
1.2 KiB
Cheetah
{{template "base/head" .}}
|
|
<div class="repository new issue">
|
|
{{template "repo/header" .}}
|
|
<div class="ui container">
|
|
<div class="navbar">
|
|
{{template "repo/issue/navbar" .}}
|
|
</div>
|
|
<div class="ui divider"></div>
|
|
{{range .IssueTemplates}}
|
|
<div class="ui attached segment">
|
|
<div class="ui two column grid">
|
|
<div class="column left aligned">
|
|
<strong>{{.Name | RenderEmojiPlain}}</strong>
|
|
<br/>{{.About | RenderEmojiPlain}}
|
|
</div>
|
|
<div class="column right aligned">
|
|
<a href="{{$.RepoLink}}/issues/new?template={{.FileName}}{{if $.milestone}}&milestone={{$.milestone}}{{end}}" class="ui green button">{{$.i18n.Tr "repo.issues.choose.get_started"}}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
<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" .}}
|