0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-28 20:13:08 +01:00
gitea/templates/user/auth/signup_openid_navbar.tmpl
Jason Song 2779d47ad3
Optimize html templates (#22080)
Replace `active{{end}} item` with `active{{end}} item`.
2022-12-09 21:34:51 +08:00

12 lines
538 B
Handlebars

<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
<div class="new-menu-inner">
<a class="{{if .PageIsOpenIDConnect}}active {{end}}item" href="{{AppSubUrl}}/user/openid/connect">
{{.locale.Tr "auth.openid_connect_title"}}
</a>
{{if and .EnableOpenIDSignUp (not .AllowOnlyInternalRegistration)}}
<a class="{{if .PageIsOpenIDRegister}}active {{end}}item" href="{{AppSubUrl}}/user/openid/register">
{{.locale.Tr "auth.openid_register_title"}}
</a>
{{end}}
</div>
</div>