Commit e3129694 authored by Patrick Kimber's avatar Patrick Kimber

remove categories and locations unless enabled #1181

parent b8af8565
...@@ -8,22 +8,26 @@ ...@@ -8,22 +8,26 @@
</a> </a>
</div> </div>
</div> </div>
<div class="pure-u-1 pure-u-md-1-4"> {% if booking_settings.display_categories %}
<div class="l-box"> <div class="pure-u-1 pure-u-md-1-4">
<a href="{% url 'booking.category.list' %}"> <div class="l-box">
<i class="fa fa-calendar"></i> <a href="{% url 'booking.category.list' %}">
Categories <i class="fa fa-calendar"></i>
</a> Categories
</a>
</div>
</div> </div>
</div> {% endif %}
<div class="pure-u-1 pure-u-md-1-4"> {% if booking_settings.display_locations %}
<div class="l-box"> <div class="pure-u-1 pure-u-md-1-4">
<a href="{% url 'booking.location.list' %}"> <div class="l-box">
<i class="fa fa-calendar"></i> <a href="{% url 'booking.location.list' %}">
Locations <i class="fa fa-calendar"></i>
</a> Locations
</a>
</div>
</div> </div>
</div> {% endif %}
{% if booking_settings.display_rota %} {% if booking_settings.display_rota %}
<div class="pure-u-1 pure-u-md-1-4"> <div class="pure-u-1 pure-u-md-1-4">
<div class="l-box"> <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