H&S Details takes up free space on non-internal events

This commit is contained in:
2020-10-12 21:47:18 +01:00
parent 0f019e26a0
commit 2cb5453b82

View File

@@ -70,8 +70,9 @@
<div class="col-md-6"> <div class="col-md-6">
{% include 'partials/event_details.html' %} {% include 'partials/event_details.html' %}
</div> </div>
{% if event.is_rig and not event.dry_hire %} {% if event.is_rig %}
<div class="col-md-4 py-3"> {% if not event.dry_hire %}
<div class="col py-3">
{% include 'partials/hs_details.html' %} {% include 'partials/hs_details.html' %}
</div> </div>
{% endif %} {% endif %}
@@ -80,6 +81,7 @@
{% include 'partials/auth_details.html' %} {% include 'partials/auth_details.html' %}
</div> </div>
{% endif %} {% endif %}
{% endif %}
{% if not request.is_ajax and perms.RIGS.view_event %} {% if not request.is_ajax and perms.RIGS.view_event %}
<div class="col-sm-12 text-right"> <div class="col-sm-12 text-right">
{% include 'event_detail_buttons.html' %} {% include 'event_detail_buttons.html' %}