\#5, TODO: Add codes and add sources and versions

This commit is contained in:
José Luis Garrido Labrador
2018-09-29 13:06:59 +02:00
parent 54b7c70adc
commit ea067d8f15
11 changed files with 254 additions and 40 deletions

View File

@@ -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>