Fixed deleted event errors

This commit is contained in:
David Taylor
2015-05-24 03:01:01 +01:00
parent ce6e044b8c
commit 96f5353c8e
3 changed files with 7 additions and 6 deletions

View File

@@ -87,7 +87,7 @@
{% endif %}
{% include 'RIGS/object_button.html' with object=version.current %}
{% include 'RIGS/object_button.html' with object=version.new %}
</small>
</div>
</div>

View File

@@ -66,7 +66,7 @@
<tr>
<td>{{ version.revision.date_created }}</td>
<td><a href="{{ version.current.get_absolute_url }}">{{version.current|to_class_name}} {{ version.new.pk|stringformat:"05d" }}</a></td>
<td><a href="{{ version.new.get_absolute_url }}">{{version.new|to_class_name}} {{ version.new.pk|stringformat:"05d" }}</a></td>
<td>{{ version.version.pk }}|{{ version.revision.pk }}</td>
<td>{{ version.revision.user.name }}</td>
<td>