Add registration link to header
This commit is contained in:
parent
287376d078
commit
89599dda91
@ -13,7 +13,8 @@
|
||||
</span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navigation">
|
||||
<ul class="navbar-nav mx-auto">
|
||||
<ul
|
||||
class="navbar-nav mx-auto">
|
||||
<!-- @todo only display when logged in -->
|
||||
{% if app.user %}
|
||||
<li class="nav-item">
|
||||
@ -30,6 +31,12 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if not app.user %}
|
||||
<li class='nav-item'>
|
||||
<a class='nav-link me-2' href='/index.php/register'>
|
||||
<i class='fas fa-key opacity-6 text-dark me-1'></i>
|
||||
Register
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link me-2" href="/index.php/">
|
||||
<i class="fas fa-key opacity-6 text-dark me-1"></i>
|
||||
@ -40,14 +47,14 @@
|
||||
</ul>
|
||||
<ul
|
||||
class="navbar-nav d-lg-flex d-none"><!--
|
||||
replace with other link
|
||||
<li class="nav-item d-flex align-items-center">
|
||||
<a class="btn btn-outline-primary btn-sm mb-0 me-2" target="_blank" href="https://www.creative-tim.com/builder?ref=navbar-material-dashboard">Online Builder</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="https://www.creative-tim.com/product/material-dashboard" class="btn btn-sm mb-0 me-1 bg-gradient-dark">Free download</a>
|
||||
</li>
|
||||
-->
|
||||
replace with other link
|
||||
<li class="nav-item d-flex align-items-center">
|
||||
<a class="btn btn-outline-primary btn-sm mb-0 me-2" target="_blank" href="https://www.creative-tim.com/builder?ref=navbar-material-dashboard">Online Builder</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="https://www.creative-tim.com/product/material-dashboard" class="btn btn-sm mb-0 me-1 bg-gradient-dark">Free download</a>
|
||||
</li>
|
||||
-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user