2017-03-16 06:39:38 +08:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
|
|
|
|
<a class="{{if .PageIsSettingsProfile}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
|
|
|
|
{{.i18n.Tr "settings.profile"}}
|
|
|
|
</a>
|
|
|
|
<a class="{{if .PageIsSettingsAvatar}}active{{end}} item" href="{{AppSubUrl}}/user/settings/avatar">
|
|
|
|
{{.i18n.Tr "settings.avatar"}}
|
|
|
|
</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>
|
2017-03-17 22:16:08 +08:00
|
|
|
{{if .EnableOpenIDSignIn}}
|
|
|
|
<a class="{{if .PageIsSettingsOpenID}}active{{end}} item" href="{{AppSubUrl}}/user/settings/openid">
|
|
|
|
OpenID
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2017-04-26 21:10:43 +08:00
|
|
|
<a class="{{if .PageIsSettingsKeys}}active{{end}} item" href="{{AppSubUrl}}/user/settings/keys">
|
|
|
|
{{.i18n.Tr "settings.ssh_gpg_keys"}}
|
2017-03-16 06:39:38 +08:00
|
|
|
</a>
|
|
|
|
<a class="{{if .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubUrl}}/user/settings/applications">
|
|
|
|
{{.i18n.Tr "settings.applications"}}
|
|
|
|
</a>
|
|
|
|
<a class="{{if .PageIsSettingsTwofa}}active{{end}} item" href="{{AppSubUrl}}/user/settings/two_factor">
|
|
|
|
{{.i18n.Tr "settings.twofa"}}
|
|
|
|
</a>
|
|
|
|
<a class="{{if .PageIsSettingsAccountLink}}active{{end}} item" href="{{AppSubUrl}}/user/settings/account_link">
|
|
|
|
{{.i18n.Tr "settings.account_link"}}
|
|
|
|
</a>
|
2017-06-02 16:43:44 +08:00
|
|
|
<a class="{{if .PageIsSettingsOrganization}}active{{end}} item" href="{{AppSubUrl}}/user/settings/organization">
|
|
|
|
{{.i18n.Tr "settings.organization"}}
|
2017-09-14 19:46:14 +08:00
|
|
|
<a class="{{if .PageIsSettingsRepos}}active{{end}} item" href="{{AppSubUrl}}/user/settings/repos">
|
|
|
|
{{.i18n.Tr "settings.repos"}}
|
2017-06-02 16:43:44 +08:00
|
|
|
</a>
|
2017-03-16 06:39:38 +08:00
|
|
|
<a class="{{if .PageIsSettingsDelete}}active{{end}} item" href="{{AppSubUrl}}/user/settings/delete">
|
|
|
|
{{.i18n.Tr "settings.delete"}}
|
|
|
|
</a>
|
2017-03-17 22:16:08 +08:00
|
|
|
</div>
|