mirror of
https://github.com/go-gitea/gitea
synced 2024-11-04 21:29:12 +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
22 lines
930 B
Cheetah
22 lines
930 B
Cheetah
<div class="four wide column">
|
|
<div class="ui vertical menu">
|
|
<div class="header item">{{.i18n.Tr "repo.settings"}}</div>
|
|
<a class="{{if .PageIsSettingsOptions}}active{{end}} item" href="{{.RepoLink}}/settings">
|
|
{{.i18n.Tr "repo.settings.options"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsCollaboration}}active{{end}} item" href="{{.RepoLink}}/settings/collaboration">
|
|
{{.i18n.Tr "repo.settings.collaboration"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsHooks}}active{{end}} item" href="{{.RepoLink}}/settings/hooks">
|
|
{{.i18n.Tr "repo.settings.hooks"}}
|
|
</a>
|
|
{{if .SignedUser.CanEditGitHook}}
|
|
<a class="{{if .PageIsSettingsGitHooks}}active{{end}} item" href="{{.RepoLink}}/settings/hooks/git">
|
|
{{.i18n.Tr "repo.settings.githooks"}}
|
|
</a>
|
|
{{end}}
|
|
<a class="{{if .PageIsSettingsKeys}}active{{end}} item" href="{{.RepoLink}}/settings/keys">
|
|
{{.i18n.Tr "repo.settings.deploy_keys"}}
|
|
</a>
|
|
</div>
|
|
</div>
|