mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-13 10:33:20 +01:00
597b04fe2f
Backport #27231 #27259 manually --------- Co-authored-by: delvh <dev.lh@web.de>
12 lines
534 B
Go HTML Template
12 lines
534 B
Go HTML Template
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
|
<div class="new-menu-inner">
|
|
<a class="{{if .PageIsOpenIDConnect}}active {{end}}item" href="{{AppSubUrl}}/user/openid/connect">
|
|
{{ctx.Locale.Tr "auth.openid_connect_title"}}
|
|
</a>
|
|
{{if and .EnableOpenIDSignUp (not .AllowOnlyInternalRegistration)}}
|
|
<a class="{{if .PageIsOpenIDRegister}}active {{end}}item" href="{{AppSubUrl}}/user/openid/register">
|
|
{{ctx.Locale.Tr "auth.openid_register_title"}}
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|