mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 03:21:49 +01:00
bb09ad2b63
Follow #29275 Extract from #20549 Fix #24716 --------- Co-authored-by: delvh <dev.lh@web.de> (cherry picked from commit 8e12ba34bab7e728ac93ccfaecbe91e053ef1c89) Conflicts: custom/conf/app.example.ini trivial context conflict
11 lines
468 B
Go HTML Template
11 lines
468 B
Go HTML Template
{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings sshkeys")}}
|
|
<div class="user-setting-content">
|
|
{{if not ($.UserDisabledFeatures.Contains "manage_ssh_keys")}}
|
|
{{template "user/settings/keys_ssh" .}}
|
|
{{end}}
|
|
{{template "user/settings/keys_principal" .}}
|
|
{{if not ($.UserDisabledFeatures.Contains "manage_gpg_keys")}}
|
|
{{template "user/settings/keys_gpg" .}}
|
|
{{end}}
|
|
</div>
|
|
{{template "user/settings/layout_footer" .}}
|