navbar: do not show login button on login page

This commit is contained in:
Benjamin Renard 2023-03-11 13:30:07 +01:00
parent 56e1b1e415
commit 8a4848bd37

View file

@ -75,7 +75,7 @@
</ul>
{/block}
</li>
{else}
{else if $request->current_url != 'login'}
{block name="navbar-login-btn"}
<li class="nav-item">
<a href="login" class="btn btn-sm btn-success">