mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-15 09:31:33 +01:00
\#5, TODO: Add codes and add sources and versions
This commit is contained in:
@@ -34,17 +34,17 @@
|
||||
</li>
|
||||
{% if user.nick is defined %}
|
||||
<li {% if page.page == "user" %}class="active"{% endif %}>
|
||||
<a href="?page=user">{{ user.nick }}</a>
|
||||
<a href="{{path('user')}}">{{ user.nick }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="?page=logout">Log out</a>
|
||||
<a href="{{ path('logout')}}">Log out</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li {% if page.page == "login" %}class="active"{% endif %}>
|
||||
<a href="?page=login">Log in</a>
|
||||
<a href="{{ path('login') }}">Log in</a>
|
||||
</li>
|
||||
<li {% if page.page == "register" %}class="active"{% endif %}>
|
||||
<a href="?page=register">Register</a>
|
||||
<a href="{{ path('register') }}">Register</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user