mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-30 16:45:51 +01:00
da2585c11e
This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each file
20 lines
601 B
Cheetah
20 lines
601 B
Cheetah
{{template "base/head" .}}
|
|
<div class="repository view issue pull files diff">
|
|
{{template "repo/header" .}}
|
|
<div class="ui container">
|
|
<div class="navbar">
|
|
{{template "repo/issue/navbar" .}}
|
|
<div class="ui right">
|
|
<a class="ui green button" href="{{$.RepoLink}}/issues/new">{{.i18n.Tr "repo.issues.new"}}</a>
|
|
</div>
|
|
</div>
|
|
<div class="ui divider"></div>
|
|
{{template "repo/issue/view_title" .}}
|
|
{{template "repo/pulls/tab_menu" .}}
|
|
<div class="ui bottom attached tab pull segment active">
|
|
{{template "repo/diff_box" .}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|