mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Tidy up version history file layout
This commit is contained in:
@@ -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'])
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<dt>Quantity</dt>
|
||||
<dd>{{new.quantity}}</dd>
|
||||
<dt>Price</dt>
|
||||
<dd>{{new.price}}
|
||||
<dd>{{new.cost}}
|
||||
</dl>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -65,7 +65,7 @@
|
||||
<dt>Quantity</dt>
|
||||
<dd>{{old.quantity}}</dd>
|
||||
<dt>Price</dt>
|
||||
<dd>{{old.price}}
|
||||
<dd>{{old.cost}}
|
||||
</dl>
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user