mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-20 23:12:15 +00:00
Improve grouping with correct spacing
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
<div class="media">
|
<div class="media">
|
||||||
{% for version in object_list %}
|
{% for version in object_list %}
|
||||||
{% if version.item_changes or version.field_changes or version.old == None %}
|
{% if version.item_changes or version.field_changes or version.old == None %}
|
||||||
|
|
||||||
{% ifchanged version.revision.user %}
|
{% ifchanged version.revision.user %}
|
||||||
{% if version != object_list|first %}
|
{% if version != object_list|first %}
|
||||||
</div> {#/.media-body#}
|
</div> {#/.media-body#}
|
||||||
@@ -25,9 +26,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<h5>{{ version.revision.user.name }}</h5>
|
<h5>{{ version.revision.user.name }}</h5>
|
||||||
{% else %}
|
|
||||||
<br />
|
|
||||||
{% endifchanged %}
|
{% endifchanged %}
|
||||||
|
<p>
|
||||||
<small>
|
<small>
|
||||||
{% if version.old == None %}
|
{% if version.old == None %}
|
||||||
Created
|
Created
|
||||||
@@ -35,9 +35,10 @@
|
|||||||
Changed {% include 'RIGS/version_changes.html' %} in
|
Changed {% include 'RIGS/version_changes.html' %} in
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
{% include 'RIGS/object_button.html' with object=version.new %}
|
{% include 'RIGS/object_button.html' with object=version.new %}
|
||||||
</small>
|
</small>
|
||||||
|
</p>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user