mirror of
https://github.com/go-gitea/gitea
synced 2024-12-21 00:54:13 +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
15 lines
307 B
Cheetah
15 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}}
|