general: generalise links-list css class on relevant cells (#25631)
This commit is contained in:
parent
ccd3cd19d7
commit
66daa07267
|
@ -2,6 +2,7 @@
|
||||||
{% block cell-content %}
|
{% block cell-content %}
|
||||||
<h2>{% trans "Notifications" %}</h2>
|
<h2>{% trans "Notifications" %}</h2>
|
||||||
{% if notifications %}
|
{% if notifications %}
|
||||||
|
<div class="links-list">
|
||||||
<ul>
|
<ul>
|
||||||
{% for notification in notifications %}
|
{% for notification in notifications %}
|
||||||
<li class="combo-notification {% if notification.acked %}combo-notification-acked{% endif %}"
|
<li class="combo-notification {% if notification.acked %}combo-notification-acked{% endif %}"
|
||||||
|
@ -15,6 +16,7 @@
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>{% trans 'No notifications.' %}</p>
|
<p>{% trans 'No notifications.' %}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{% block cell-content %}
|
{% block cell-content %}
|
||||||
<h2>{% trans 'Current Drafts' %}</h2>
|
<h2>{% trans 'Current Drafts' %}</h2>
|
||||||
{% for slug, forms in current_drafts.items %}
|
{% for slug, forms in current_drafts.items %}
|
||||||
<div class="current-drafts-{{ slug }} current-drafts list-of-forms">
|
<div class="links-list current-drafts-{{ slug }} current-drafts list-of-forms">
|
||||||
{% if forms.data %}
|
{% if forms.data %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for data in forms.data %}
|
{% for data in forms.data %}
|
||||||
|
@ -17,4 +17,5 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{% block cell-content %}
|
{% block cell-content %}
|
||||||
<h2>{% trans 'Current Forms' %}</h2>
|
<h2>{% trans 'Current Forms' %}</h2>
|
||||||
{% for slug, forms in current_forms.items %}
|
{% for slug, forms in current_forms.items %}
|
||||||
<div class="current-forms-{{ slug }} current-forms list-of-forms">
|
<div class="links-list current-forms-{{ slug }} current-forms list-of-forms">
|
||||||
{% include "combo/wcs/list_of_forms.html" with forms=forms %}
|
{% include "combo/wcs/list_of_forms.html" with forms=forms %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{% block cell-content %}
|
{% block cell-content %}
|
||||||
<h2>{% trans 'All Forms' %}</h2>
|
<h2>{% trans 'All Forms' %}</h2>
|
||||||
{% for slug, forms in user_forms.items %}
|
{% for slug, forms in user_forms.items %}
|
||||||
<div class="user-forms-{{ slug }} user-all-forms list-of-forms">
|
<div class="links-list user-forms-{{ slug }} user-all-forms list-of-forms">
|
||||||
{% include "combo/wcs/list_of_forms.html" with forms=forms %}
|
{% include "combo/wcs/list_of_forms.html" with forms=forms %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{% block cell-content %}
|
{% block cell-content %}
|
||||||
<h2>{% trans 'Done Forms' %}</h2>
|
<h2>{% trans 'Done Forms' %}</h2>
|
||||||
{% for slug, forms in user_forms.items %}
|
{% for slug, forms in user_forms.items %}
|
||||||
<div class="user-forms-{{ slug }} list-of-forms">
|
<div class="links-list user-forms-{{ slug }} list-of-forms">
|
||||||
{% include "combo/wcs/list_of_forms.html" with forms=forms %}
|
{% include "combo/wcs/list_of_forms.html" with forms=forms %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue