Wrap versions' list to look more consistent
@@ -21,7 +21,12 @@ Versions
<div class="module project-versions-active">
<div class="module-wrapper">
+
+ <div class="module-header">
<h1>{% trans "Active Versions" %}</h1>
+ </div>
+
+ <div class="module-list">
<div class="module-list-wrapper">
<ul>
{% for version in active_versions|sort_version_aware %}
@@ -61,6 +66,8 @@ Versions
</ul>
</div>
</div>
+
+ </div>
</div>
{% if request.user|is_admin:project or request.user.is_staff %}
@@ -68,7 +75,11 @@ Versions
<div class="module-wrapper">
{% if inactive_versions %}
+ <div class="module-header">
<h1>{% trans "Inactive Versions" %}</h1>
+ </div>
+
+ <div class="module-list">
<div class="module-list-wrapper">
<ul>
{% for version in inactive_versions|sort_version_aware %}
@@ -98,13 +109,13 @@ Versions
</ul>
{% endif %}
-
</li>
{% endblock inactive-versions %}
{% endfor %}
</ul>
</div>
+ </div>
{% endif %}
</div>
