mirror of https://github.com/gogits/gogs.git
Browse Source
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 filepull/2121/head
Adam Strzelecki
9 years ago
114 changed files with 5564 additions and 5556 deletions
@ -1,15 +1,15 @@
|
||||
{{if .Flash.ErrorMsg}} |
||||
<div class="ui negative message"> |
||||
<div class="ui negative message"> |
||||
<p>{{.Flash.ErrorMsg}}</p> |
||||
</div> |
||||
</div> |
||||
{{end}} |
||||
{{if .Flash.SuccessMsg}} |
||||
<div class="ui positive message"> |
||||
<div class="ui positive message"> |
||||
<p>{{.Flash.SuccessMsg}}</p> |
||||
</div> |
||||
</div> |
||||
{{end}} |
||||
{{if .Flash.InfoMsg}} |
||||
<div class="ui info message"> |
||||
<div class="ui info message"> |
||||
<p>{{.Flash.InfoMsg}}</p> |
||||
</div> |
||||
</div> |
||||
{{end}} |
Loading…
Reference in new issue