mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 20:54:04 +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
23 lines
1,017 B
Cheetah
23 lines
1,017 B
Cheetah
<div class="four wide column">
|
|
<div class="ui vertical menu">
|
|
<div class="header item">{{.i18n.Tr "settings"}}</div>
|
|
<a class="{{if .PageIsSettingsProfile}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
|
|
{{.i18n.Tr "settings.profile"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsPassword}}active{{end}} item" href="{{AppSubUrl}}/user/settings/password">
|
|
{{.i18n.Tr "settings.password"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsEmails}}active{{end}} item" href="{{AppSubUrl}}/user/settings/email">
|
|
{{.i18n.Tr "settings.emails"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsSSHKeys}}active{{end}} item" href="{{AppSubUrl}}/user/settings/ssh">
|
|
{{.i18n.Tr "settings.ssh_keys"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubUrl}}/user/settings/applications">
|
|
{{.i18n.Tr "settings.applications"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsDelete}}active{{end}} item" href="{{AppSubUrl}}/user/settings/delete">
|
|
{{.i18n.Tr "settings.delete"}}
|
|
</a>
|
|
</div>
|
|
</div>
|