mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-27 23:48:39 +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
16 lines
307 B
Cheetah
16 lines
307 B
Cheetah
{{if .Flash.ErrorMsg}}
|
|
<div class="ui negative message">
|
|
<p>{{.Flash.ErrorMsg}}</p>
|
|
</div>
|
|
{{end}}
|
|
{{if .Flash.SuccessMsg}}
|
|
<div class="ui positive message">
|
|
<p>{{.Flash.SuccessMsg}}</p>
|
|
</div>
|
|
{{end}}
|
|
{{if .Flash.InfoMsg}}
|
|
<div class="ui info message">
|
|
<p>{{.Flash.InfoMsg}}</p>
|
|
</div>
|
|
{{end}}
|