master
Aevann1 2022-02-24 14:55:24 +02:00
parent 579a08663d
commit 0225f6956d
1 changed files with 3 additions and 3 deletions

View File

@ -38,8 +38,8 @@
{% block navbar %} {% block navbar %}
<div class="d-flex align-items-center"> <div class="d-flex align-items-center">
{% if request.path == '/' and v.paid_dues %} {% if request.path == '/' and v.paid_dues %}
{% if ccmode=="true"%}<a data-bs-toggle="tooltip" title="Only show country club posts" data-bs-original-title="Only show country club posts" class="btn btn-primary text-primary text-small-m mx-2" href="?sort={{sort}}&t={{t}}&ccmode=false">CC</a>{% endif %} {% if ccmode=="true"%}<a data-bs-toggle="tooltip" data-bs-placement="bottom" title="Only show country club posts" data-bs-original-title="Only show country club posts" class="btn btn-primary text-primary text-small-m mx-2" href="?sort={{sort}}&t={{t}}&ccmode=false">CC</a>{% endif %}
{% if ccmode=="false" %}<a data-bs-toggle="tooltip" title="Only show country club posts" data-bs-original-title="Only show country club posts" class="btn btn-secondary text-small-m mx-2" href="?sort={{sort}}&t={{t}}&ccmode=true"></i>CC</a>{% endif %} {% if ccmode=="false" %}<a data-bs-toggle="tooltip" data-bs-placement="bottom" title="Only show country club posts" data-bs-original-title="Only show country club posts" class="btn btn-secondary text-small-m mx-2" href="?sort={{sort}}&t={{t}}&ccmode=true"></i>CC</a>{% endif %}
{% endif %} {% endif %}
{% if request.path in ('/','/logged_out') and SITE_NAME == 'Drama' %} {% if request.path in ('/','/logged_out') and SITE_NAME == 'Drama' %}
@ -48,7 +48,7 @@
{% else %} {% else %}
{% set classes='btn-secondary' %} {% set classes='btn-secondary' %}
{% endif %} {% endif %}
<button data-bs-toggle="tooltip" title="Include posts from subs" data-bs-original-title="Include posts from subs" class="{{classes}} btn text-small-m mx-2" onclick="post('/sub_toggle')">Subs</button> <button data-bs-toggle="tooltip" data-bs-placement="bottom" title="Include posts from subs" data-bs-original-title="Include posts from subs" class="{{classes}} btn text-small-m mx-2" onclick="post('/sub_toggle')">Subs</button>
{% endif %} {% endif %}
<div class="dropdown dropdown-actions mx-2"> <div class="dropdown dropdown-actions mx-2">