mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-16 15:49:50 +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
26 lines
935 B
Cheetah
26 lines
935 B
Cheetah
{{with .Org}}
|
|
<div class="ui container">
|
|
<div class="ui vertically grid head">
|
|
<div class="column">
|
|
<div class="ui header">
|
|
<img class="ui image" src="{{.AvatarLink}}?s=100">
|
|
<span class="text thin grey"><a href="{{.HomeLink}}">{{.DisplayName}}</a></span>
|
|
|
|
<div class="ui right">
|
|
<div class="ui menu">
|
|
<a class="{{if $.PageIsOrgMembers}}active{{end}} item" href="{{$.OrgLink}}/members">
|
|
<i class="octicon octicon-organization"></i> {{$.i18n.Tr "org.people"}}
|
|
<div class="floating ui black label">{{.NumMembers}}</div>
|
|
</a>
|
|
<a class="{{if $.PageIsOrgTeams}}active{{end}} item" href="{{$.OrgLink}}/teams">
|
|
<i class="octicon octicon-jersey"></i> {{$.i18n.Tr "org.teams"}}
|
|
<div class="floating ui black label">{{.NumTeams}}</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ui divider"></div>
|
|
{{end}}
|