Commit e3129694 authored by Patrick Kimber's avatar Patrick Kimber

remove categories and locations unless enabled #1181

parent b8af8565
......@@ -8,22 +8,26 @@
</a>
</div>
</div>
<div class="pure-u-1 pure-u-md-1-4">
<div class="l-box">
<a href="{% url 'booking.category.list' %}">
<i class="fa fa-calendar"></i>
Categories
</a>
{% if booking_settings.display_categories %}
<div class="pure-u-1 pure-u-md-1-4">
<div class="l-box">
<a href="{% url 'booking.category.list' %}">
<i class="fa fa-calendar"></i>
Categories
</a>
</div>
</div>
</div>
<div class="pure-u-1 pure-u-md-1-4">
<div class="l-box">
<a href="{% url 'booking.location.list' %}">
<i class="fa fa-calendar"></i>
Locations
</a>
{% endif %}
{% if booking_settings.display_locations %}
<div class="pure-u-1 pure-u-md-1-4">
<div class="l-box">
<a href="{% url 'booking.location.list' %}">
<i class="fa fa-calendar"></i>
Locations
</a>
</div>
</div>
</div>
{% endif %}
{% if booking_settings.display_rota %}
<div class="pure-u-1 pure-u-md-1-4">
<div class="l-box">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment