From 258aa02d5883771a0660e217d97e87c7a5d686b4 Mon Sep 17 00:00:00 2001 From: tomtom5152 Date: Wed, 5 Nov 2014 23:11:26 +0000 Subject: [PATCH] Detail template improvements --- RIGS/templates/RIGS/organisation_detail.html | 16 +++++++++------- RIGS/templates/RIGS/person_detail.html | 16 +++++++++------- RIGS/templates/RIGS/venue_detail.html | 16 +++++++++------- 3 files changed, 27 insertions(+), 21 deletions(-) diff --git a/RIGS/templates/RIGS/organisation_detail.html b/RIGS/templates/RIGS/organisation_detail.html index 7574d1d0..3bb4b479 100644 --- a/RIGS/templates/RIGS/organisation_detail.html +++ b/RIGS/templates/RIGS/organisation_detail.html @@ -5,14 +5,16 @@ {% block content %}
- {% if not request.is_ajax %} -

{{ object.name }}

-
- Edit -
- {% endif %}
+ {% if not request.is_ajax %} +

{{ object.name }}
+ Last edited {{ object.last_edited_at }} by {{ object.last_edited_by }} +

+
+ Edit +
+ {% endif %}
Name
diff --git a/RIGS/templates/RIGS/person_detail.html b/RIGS/templates/RIGS/person_detail.html index 0b2007ef..403584a5 100644 --- a/RIGS/templates/RIGS/person_detail.html +++ b/RIGS/templates/RIGS/person_detail.html @@ -5,14 +5,16 @@ {% block content %}
- {% if not request.is_ajax %} -

{{ object.name }}

-
- Edit -
- {% endif %}
+ {% if not request.is_ajax %} +

{{ object.name }}
+ Last edited {{ object.last_edited_at }} by {{ object.last_edited_by }} +

+
+ Edit +
+ {% endif %}
Name
diff --git a/RIGS/templates/RIGS/venue_detail.html b/RIGS/templates/RIGS/venue_detail.html index 73511815..7b74e2c0 100644 --- a/RIGS/templates/RIGS/venue_detail.html +++ b/RIGS/templates/RIGS/venue_detail.html @@ -5,14 +5,16 @@ {% block content %}
- {% if not request.is_ajax %} -

{{ object.name }}

-
- Edit -
- {% endif %}
+ {% if not request.is_ajax %} +

{{ object.name }}
+ Last edited {{ object.last_edited_at }} by {{ object.last_edited_by }} +

+
+ Edit +
+ {% endif %}
Name