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

Update discussion.tpl

Fixed navbar to display the correct tab when visiting a official games-group (and their discussion-page)
This commit is contained in:
Kaan2106 2024-09-12 18:35:56 +02:00 committed by GitHub
parent 40232bda55
commit ca4c674ac3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,6 +97,31 @@ body { behavior: url({{ site.staticContentPath }}/web-gallery/js/csshover.htc);
<div id="content-container"> <div id="content-container">
{% if session.currentPage == "games" %}
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<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>
{% endif %}
{% if session.currentPage == "community" %}
<div id="navi2-container" class="pngbg"> <div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix"> <div id="navi2" class="pngbg clearfix">
<ul> <ul>
@ -104,11 +129,18 @@ body { behavior: url({{ site.staticContentPath }}/web-gallery/js/csshover.htc);
<a href="{{ site.sitePath }}/community">Community</a> </li> <a href="{{ site.sitePath }}/community">Community</a> </li>
<li class=""> <li class="">
<a href="{{ site.sitePath }}/articles">News</a> </li> <a href="{{ site.sitePath }}/articles">News</a> </li>
<li class=" last"> <li class="">
<a href="{{ site.sitePath }}/tag">Tags</a> </li> <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> </ul>
</div> </div>
</div> </div>
{% endif %}
</div> </div>
<div id="container"> <div id="container">