mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-21 20:13:24 +02:00
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}}
|