From 0898e91fcbb5ccc9449775087fe56bb3b076c1dc Mon Sep 17 00:00:00 2001 From: Tom Price Date: Mon, 18 May 2015 15:04:37 +0100 Subject: [PATCH] Tidy up version history file layout --- RIGS/rigboard.py | 2 +- .../RIGS/{revision_list.html => event_version_list.html} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename RIGS/templates/RIGS/{revision_list.html => event_version_list.html} (96%) diff --git a/RIGS/rigboard.py b/RIGS/rigboard.py index 9b43d6da..de0fa0fe 100644 --- a/RIGS/rigboard.py +++ b/RIGS/rigboard.py @@ -190,7 +190,7 @@ class EventArchive(generic.ArchiveIndexView): class EventRevisions(generic.ListView): model = reversion.revisions.Version - template_name = "RIGS/revision_list.html" + template_name = "RIGS/event_version_list.html" # def get_queryset(self): # thisEvent = get_object_or_404(models.Event, pk=self.kwargs['pk']) diff --git a/RIGS/templates/RIGS/revision_list.html b/RIGS/templates/RIGS/event_version_list.html similarity index 96% rename from RIGS/templates/RIGS/revision_list.html rename to RIGS/templates/RIGS/event_version_list.html index 41ff362f..ace69b67 100644 --- a/RIGS/templates/RIGS/revision_list.html +++ b/RIGS/templates/RIGS/event_version_list.html @@ -51,7 +51,7 @@
Quantity
{{new.quantity}}
Price
-
{{new.price}} +
{{new.cost}} {% endif %} @@ -65,7 +65,7 @@
Quantity
{{old.quantity}}
Price
-
{{old.price}} +
{{old.cost}} {% endif %}