summaryrefslogtreecommitdiffstats
path: root/templates/user/auth/signup_openid_navbar.tmpl
blob: 89068ddde18effe371f7b3b882e771a4f38ecb60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<overflow-menu class="ui secondary pointing tabular top attached borderless menu secondary-nav">
	<div class="overflow-menu-items tw-justify-center">
		<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>
</overflow-menu>