1
Fork 0
mirror of https://github.com/Quackster/Havana.git synced 2025-07-02 04:37:47 +00:00

Update view_discussions.tpl

Fixed navbar when visiting a offical games-group and their discussion-page
This commit is contained in:
Kaan2106 2024-09-12 18:36:44 +02:00 committed by GitHub
parent ca4c674ac3
commit 935fb0b8ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,18 +97,50 @@ body { behavior: url({{ site.staticContentPath }}/web-gallery/js/csshover.htc);
<div id="content-container">
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
{% if session.currentPage == "games" %}
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<li class="">
<a href="{{ site.sitePath }}/community">Community</a> </li>
<li class="">
<a href="{{ site.sitePath }}/articles">News</a> </li>
<li class=" last">
<a href="{{ site.sitePath }}/tag">Tags</a> </li>
<li class="">
<a href="/games">Games</a>
</li>
<li class="{% if group.getAlias() == 'battleball_rebound' %}selected{% endif %}">
<a href="/groups/battleball_rebound">BattleBall: Rebound!</a>
</li>
<li class="{% if group.getAlias() == 'snow_storm' %}selected{% endif %}">
<a href="/groups/snow_storm">SnowStorm</a>
</li>
<li class="{% if group.getAlias() == 'wobble_squabble' %}selected{% endif %}">
<a href="/groups/wobble_squabble">Wobble Squabble</a>
</li>
<li class="{% if group.getAlias() == 'lido' %}selected{% endif %} last">
<a href="/groups/lido">Lido Diving</a>
</li>
</ul>
</div>
</div>
</div>
</div>
{% endif %}
{% if session.currentPage == "community" %}
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<li class="">
<a href="{{ site.sitePath }}/community">Community</a> </li>
<li class="">
<a href="{{ site.sitePath }}/articles">News</a> </li>
<li class="">
<a href="{{ site.sitePath }}/tag">Tags</a> </li>
<!-- <li class="">
<a href="{{ site.sitePath }}/community/photos">Photos</a> </li> -->
<li class="">
<a href="{{ site.sitePath }}/community/events">Events</a> </li>
<li class=" last">
<a href="{{ site.sitePath }}/community/fansites">Fansites</a> </li>
</ul>
</div>
</div>
{% endif %}
<div id="container">
<div id="content" style="position: relative" class="clearfix">