mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-30 05:07:06 +08:00
15c035775a
* Add main aria landmark to templates * Adjust some titles to improve understanding of location in navigation Contributed by @Forgejo
21 lines
700 B
Handlebars
21 lines
700 B
Handlebars
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" 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>
|
|
{{if .Flash.WarningMsg}}
|
|
{{/*
|
|
There's already an importing of alert.tmpl in new_form.tmpl,
|
|
but only the negative message will be displayed within forms for some reasons, see semantic.css:10659.
|
|
To avoid repeated negative messages, the importing here if for .Flash.WarningMsg only.
|
|
*/}}
|
|
{{template "base/alert" .}}
|
|
{{end}}
|
|
{{template "repo/issue/new_form" .}}
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|