From 1fdeed7da3f1e5fd1aeadb18efdc5808101b7719 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Sun, 28 Jun 2015 23:26:02 +0100 Subject: [PATCH] Added dry hire indicator to event_detail - issue #144 --- RIGS/templates/RIGS/event_detail.html | 4 +--- RIGS/templates/RIGS/event_table.html | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/RIGS/templates/RIGS/event_detail.html b/RIGS/templates/RIGS/event_detail.html index c1e21c25..358eaf10 100644 --- a/RIGS/templates/RIGS/event_detail.html +++ b/RIGS/templates/RIGS/event_detail.html @@ -5,12 +5,10 @@
{% if not request.is_ajax %}
-

{% if object.is_rig %}N{{ object.pk|stringformat:"05d" }}{% else %}{{ object.pk }}{% endif %} - | {{ object.name }} + | {{ object.name }} {% if event.dry_hire %}Dry Hire{% endif %}

-
diff --git a/RIGS/templates/RIGS/event_table.html b/RIGS/templates/RIGS/event_table.html index 1868f2dd..186795e0 100644 --- a/RIGS/templates/RIGS/event_table.html +++ b/RIGS/templates/RIGS/event_table.html @@ -38,7 +38,7 @@ at {{ event.venue }} {% endif %} {% if event.dry_hire %} - Dry Hire + Dry Hire {% endif %} {% if event.is_rig and not event.cancelled %}