[TWIG] Various routes added
This commit is contained in:
parent
3d3db96312
commit
4328a11eb1
@ -60,7 +60,7 @@
|
|||||||
{% block left %}
|
{% block left %}
|
||||||
{% endblock left %}
|
{% endblock left %}
|
||||||
<nav id='instance'>
|
<nav id='instance'>
|
||||||
<a href="/">
|
<a href="{{ path('main_public') }}">
|
||||||
<svg class="icon icon-logo">
|
<svg class="icon icon-logo">
|
||||||
<use xlink:href="#icon-logo"></use>
|
<use xlink:href="#icon-logo"></use>
|
||||||
</svg><b>GNU social</b>
|
</svg><b>GNU social</b>
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<a href='#'>Messages</a>
|
<a href='#'>Messages</a>
|
||||||
<a href='#'>Replies</a>
|
<a href="{{ path("replies", {'nickname' : user_nickname}) }}" class='hover-effect {{ active("replies") }}'>Replies</a>
|
||||||
<a href='#'>Favourites</a>
|
<a href='#'>Favourites</a>
|
||||||
<a href='#'>Reverse Favs</a>
|
<a href='#'>Reverse Favs</a>
|
||||||
<a href="{{ path('settings_personal_info') }}" class='hover-effect {{ active('settings_') }}'>Settings</a>
|
<a href="{{ path('settings_personal_info') }}" class='hover-effect {{ active('settings_') }}'>Settings</a>
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
<nav class='main-nav'>
|
<nav class='main-nav'>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Timeline</a>
|
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public') }}'>Timeline</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
@ -75,7 +75,7 @@
|
|||||||
<nav class='main-nav'>
|
<nav class='main-nav'>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Public</a>
|
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public') }}'>Public</a>
|
||||||
</li>
|
</li>
|
||||||
{% if user_nickname is defined %}
|
{% if user_nickname is defined %}
|
||||||
<li>
|
<li>
|
||||||
@ -83,7 +83,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li>
|
<li>
|
||||||
<a href="#">Network</a>
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Network</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
Loading…
Reference in New Issue
Block a user