diff --git a/RIGS/templates/RIGS/event_detail.html b/RIGS/templates/RIGS/event_detail.html index b8fe16e4..d2e57352 100644 --- a/RIGS/templates/RIGS/event_detail.html +++ b/RIGS/templates/RIGS/event_detail.html @@ -2,13 +2,6 @@ {% block title %}Event {% if object.is_rig %}N{{ object.pk|stringformat:"05d" }}{% else %}{{ object.pk }} {% endif %}{% endblock %} -{% block buttons %} - {% if not request.is_ajax %} - - - {% endif %} -{% endblock %} - {% block content %}
{% if not request.is_ajax %} @@ -16,25 +9,30 @@

Event {% if object.is_rig %}N{{ object.pk|stringformat:"05d" }}{% else %}{{ object.pk }}{% endif %}

+
+ class="glyphicon glyphicon-edit"> {% if event.is_rig %} + class="glyphicon glyphicon-print"> {% endif %} + class="glyphicon glyphicon-duplicate"> {% if event.is_rig %} {% if perms.RIGS.add_invoice %} + class="glyphicon glyphicon-gbp"> {% endif %} {% endif %}
- + {% endif %} {% if object.is_rig %} {# only need contact details for a rig #} @@ -167,17 +165,21 @@
+ class="glyphicon glyphicon-edit"> {% if event.is_rig %} + class="glyphicon glyphicon-print"> {% endif %} + class="glyphicon glyphicon-duplicate"> {% if event.is_rig %} {% if perms.RIGS.add_invoice %} + class="glyphicon glyphicon-gbp"> {% endif %} {% endif %}
@@ -200,19 +202,21 @@
+ class="glyphicon glyphicon-edit"> {% if event.is_rig %} - + {% endif %} - + class="glyphicon glyphicon-duplicate"> {% if event.is_rig %} {% if perms.RIGS.add_invoice %} + class="glyphicon glyphicon-gbp"> {% endif %} {% endif %}