removed submenu for login / register in guest menu options

v1.18.x
bdharrington7 11 years ago
parent e8c7860f12
commit bf96903d6e

@ -508,7 +508,7 @@ var socket,
}
$('#main-nav a,#user-control-list a,#logged-out-menu .dropdown-menu a').off('click').on('click', function() {
$('#main-nav a,#user-control-list a,#logged-out-menu li a').off('click').on('click', function() {
if($('.navbar .navbar-collapse').hasClass('in'))
$('.navbar-header button').click();
});

@ -127,26 +127,13 @@
<ul id="logged-out-menu" class="nav navbar-nav navbar-right">
<!-- IF allowRegistration -->
<li class="visible-lg visible-md visible-sm">
<li>
<a href="{relative_path}/register">[[global:register]]</a>
</li>
<!-- ENDIF allowRegistration -->
<li class="visible-lg visible-md visible-sm">
<li>
<a href="{relative_path}/login">[[global:login]]</a>
</li>
<li class="visible-xs">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" id="loggedout_dropdown"><i class="fa fa-sign-in"></i></a>
<ul class="dropdown-menu" aria-labelledby="loggedout_dropdown">
<!-- IF allowRegistration -->
<li>
<a href="{relative_path}/register">[[global:register]]</a>
</li>
<!-- ENDIF allowRegistration -->
<li>
<a href="{relative_path}/login">[[global:login]]</a>
</li>
</ul>
</li>
</ul>
<ul id="logged-conditional-menu" class="nav navbar-nav navbar-right">

Loading…
Cancel
Save