mirror of
https://github.com/go-gitea/gitea
synced 2024-11-04 21:29:12 +01:00
b1cf7f4df1
* Add class to page content to unify top margin Previously pages would individually set this margin but some didn't so content would stick to the header without any space. Resolve this by adding a new class that is added on all pages. The only place where we remove this margin again is on the pages with menu or wrapper in the header. * fix admin notices * fix team pages * fix loading segment on gitgraph for arc-green * fix last missing case Co-authored-by: techknowlogick <techknowlogick@gitea.io>
35 lines
1.2 KiB
Handlebars
35 lines
1.2 KiB
Handlebars
{{template "base/head" .}}
|
|
<div class="page-content 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" .}}
|