Skip to content

Commit fcca037

Browse files
kazlafriks
authored andcommitted
hide navbar when only 1 sign-in method is available (#2648)
1 parent a79af9c commit fcca037

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
{{if .EnableOpenIDSignIn}}
12
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
23
<a class="{{if .PageIsLogin}}active{{end}} item" href="{{AppSubUrl}}/user/login">
34
{{.i18n.Tr "auth.login_userpass"}}
45
</a>
5-
{{if .EnableOpenIDSignIn}}
6-
<a class="{{if .PageIsLoginOpenID}}active{{end}} item" href="{{AppSubUrl}}/user/login/openid">
7-
<i class="fa fa-openid"></i>
8-
&nbsp;OpenID
9-
</a>
10-
{{end}}
6+
<a class="{{if .PageIsLoginOpenID}}active{{end}} item" href="{{AppSubUrl}}/user/login/openid">
7+
<i class="fa fa-openid"></i>
8+
&nbsp;OpenID
9+
</a>
1110
</div>
11+
{{end}}

0 commit comments

Comments
 (0)