[UI][TIMELINES] Fix undefined main_nav_tabs in logged out view
This commit is contained in:
parent
98145f4f1a
commit
c36436c1a1
@ -90,14 +90,13 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Network</a>
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Network</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
{% if main_nav_tabs is defined %}
|
||||||
<a href="{{ path('actors') }}" class='hover-effect {{ active('actors') }}'>Actors</a>
|
|
||||||
</li>
|
|
||||||
{% for tab in main_nav_tabs %}
|
{% for tab in main_nav_tabs %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ path(tab['route']) }}" class='hover-effect {{ active(tab['route']) }}' >{{ tab['title'] }}</a>
|
<a href="{{ path(tab['route']) }}" class='hover-effect {{ active(tab['route']) }}' >{{ tab['title'] }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="timeline">
|
<div class="timeline">
|
||||||
|
Loading…
Reference in New Issue
Block a user