mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-20 23:12:15 +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):
|
class EventRevisions(generic.ListView):
|
||||||
model = reversion.revisions.Version
|
model = reversion.revisions.Version
|
||||||
template_name = "RIGS/revision_list.html"
|
template_name = "RIGS/event_version_list.html"
|
||||||
|
|
||||||
# def get_queryset(self):
|
# def get_queryset(self):
|
||||||
# thisEvent = get_object_or_404(models.Event, pk=self.kwargs['pk'])
|
# thisEvent = get_object_or_404(models.Event, pk=self.kwargs['pk'])
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
<dt>Quantity</dt>
|
<dt>Quantity</dt>
|
||||||
<dd>{{new.quantity}}</dd>
|
<dd>{{new.quantity}}</dd>
|
||||||
<dt>Price</dt>
|
<dt>Price</dt>
|
||||||
<dd>{{new.price}}
|
<dd>{{new.cost}}
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
<dt>Quantity</dt>
|
<dt>Quantity</dt>
|
||||||
<dd>{{old.quantity}}</dd>
|
<dd>{{old.quantity}}</dd>
|
||||||
<dt>Price</dt>
|
<dt>Price</dt>
|
||||||
<dd>{{old.price}}
|
<dd>{{old.cost}}
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
Reference in New Issue
Block a user