forked from MarseyWorld/MarseyWorld
fds
parent
d87f787240
commit
68263e7b20
|
@ -69,12 +69,32 @@
|
|||
|
||||
{% block navbar %}
|
||||
<div class="d-flex align-items-center">
|
||||
{% if v and v.paid_dues %}
|
||||
{% if ccmode=="true"%}
|
||||
<a data-bs-toggle="tooltip" data-bs-placement="bottom" title="Only show country club posts" class="btn btn-primary text-primary mx-2" href="?sort={{sort}}&t={{t}}&ccmode=false"><i class="fas fa-golf-club mr-2 "></i>CC</a>
|
||||
{% else %}
|
||||
<a data-bs-toggle="tooltip" data-bs-placement="bottom" title="Only show country club posts" class="btn btn-secondary mx-2" href="?sort={{sort}}&t={{t}}&ccmode=true"><i class="fas fa-golf-club mr-2 "></i>CC</a>
|
||||
{% if v %}
|
||||
{% if v.paid_dues %}
|
||||
{% if ccmode=="true"%}
|
||||
<a data-bs-toggle="tooltip" data-bs-placement="bottom" title="Only show country club posts" class="btn btn-primary text-primary mx-2" href="?sort={{sort}}&t={{t}}&ccmode=false"><i class="fas fa-golf-club mr-2 "></i>CC</a>
|
||||
{% else %}
|
||||
<a data-bs-toggle="tooltip" data-bs-placement="bottom" title="Only show country club posts" class="btn btn-secondary mx-2" href="?sort={{sort}}&t={{t}}&ccmode=true"><i class="fas fa-golf-club mr-2 "></i>CC</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<div class="dropdown dropdown-actions mx-2 d-none d-lg-block">
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="fas fa-user-group mr-2"></i>
|
||||
{% if v.subs == 1 %}
|
||||
Include subscribed holes
|
||||
{% elif v.subs == 2 %}
|
||||
Include all holes
|
||||
{% elif v.subs == 3 %}
|
||||
View holes only
|
||||
{% endif %}
|
||||
</button>
|
||||
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton" x-placement="bottom-start" style="position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(0px, 31px, 0px);">
|
||||
{% if v.subs != 1 %}<a class="dropdown-item" href="/sub_toggle/1"><i class="fas fa-user-group mr-2"></i>Include subscribed holes</a>{% endif %}
|
||||
{% if v.subs != 2 %}<a class="dropdown-item" href="/sub_toggle/2"><i class="fas fa-user-group mr-2"></i>Include all holes</a>{% endif %}
|
||||
{% if v.subs != 3 %}<a class="dropdown-item" href="/sub_toggle/3"><i class="fas fa-user-group mr-2"></i>View holes only</a>{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="dropdown dropdown-actions mx-2">
|
||||
|
|
Loading…
Reference in New Issue