1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

16 lines
901 B
HTML
Raw Normal View History

2020-01-02 16:29:11 +00:00
{% load helpers %}
{% if show_assigned or show_available is not None %}
<div class="btn-group" role="group">
2021-12-15 12:16:50 -05:00
<a href="{{ request.path }}{% querystring request show_assigned='true' show_available='false' %}" class="btn btn-sm {% if show_assigned and not show_available %}btn-secondary active{% else %}btn-outline-secondary{% endif %}">
Show Assigned
</a>
2021-12-15 12:16:50 -05:00
<a href="{{ request.path }}{% querystring request show_assigned='false' show_available='true' %}" class="btn btn-sm {% if show_available and not show_assigned %}btn-secondary active{% else %}btn-outline-secondary{% endif %}">
Show Available
</a>
2021-12-15 12:16:50 -05:00
<a href="{{ request.path }}{% querystring request show_assigned='true' show_available='true' %}" class="btn btn-sm {% if show_available and show_assigned %}btn-secondary active{% else %}btn-outline-secondary{% endif %}">
Show All
2021-03-02 15:58:33 -05:00
</a>
</div>
2021-12-02 10:47:19 +13:00
{% endif %}