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 %}
|
||||
<h2>{% trans "Notifications" %}</h2>
|
||||
{% if notifications %}
|
||||
<div class="links-list">
|
||||
<ul>
|
||||
{% for notification in notifications %}
|
||||
<li class="combo-notification {% if notification.acked %}combo-notification-acked{% endif %}"
|
||||
|
@ -15,6 +16,7 @@
|
|||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% else %}
|
||||
<p>{% trans 'No notifications.' %}</p>
|
||||
{% endif %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% block cell-content %}
|
||||
<h2>{% trans 'Current Drafts' %}</h2>
|
||||
{% 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 %}
|
||||
<ul>
|
||||
{% for data in forms.data %}
|
||||
|
@ -17,4 +17,5 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% block cell-content %}
|
||||
<h2>{% trans 'Current Forms' %}</h2>
|
||||
{% 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 %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% block cell-content %}
|
||||
<h2>{% trans 'All Forms' %}</h2>
|
||||
{% 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 %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% block cell-content %}
|
||||
<h2>{% trans 'Done Forms' %}</h2>
|
||||
{% 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 %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue