Tidy up version history file layout

This commit is contained in:
Tom Price
2015-05-18 15:04:37 +01:00
parent e63b7d5166
commit 0898e91fcb
2 changed files with 3 additions and 3 deletions

View File

@@ -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'])

View File

@@ -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 %}