From 9b9e0b0d257aa5ffbfac3d252e632849dba900b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 10 Aug 2018 11:25:21 +0200 Subject: [PATCH] general: generalise links-list css class on relevant cells (#25631) --- .../templates/combo/notificationscell.html | 2 ++ combo/apps/wcs/templates/combo/wcs/categories.html | 11 +++++++++++ .../apps/wcs/templates/combo/wcs/current_drafts.html | 3 ++- combo/apps/wcs/templates/combo/wcs/current_forms.html | 2 +- .../apps/wcs/templates/combo/wcs/user_all_forms.html | 2 +- .../apps/wcs/templates/combo/wcs/user_done_forms.html | 2 +- 6 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 combo/apps/wcs/templates/combo/wcs/categories.html diff --git a/combo/apps/notifications/templates/combo/notificationscell.html b/combo/apps/notifications/templates/combo/notificationscell.html index de13da1..731a328 100644 --- a/combo/apps/notifications/templates/combo/notificationscell.html +++ b/combo/apps/notifications/templates/combo/notificationscell.html @@ -2,6 +2,7 @@ {% block cell-content %}

{% trans "Notifications" %}

{% if notifications %} + {% else %}

{% trans 'No notifications.' %}

{% endif %} diff --git a/combo/apps/wcs/templates/combo/wcs/categories.html b/combo/apps/wcs/templates/combo/wcs/categories.html new file mode 100644 index 0000000..555921c --- /dev/null +++ b/combo/apps/wcs/templates/combo/wcs/categories.html @@ -0,0 +1,11 @@ +{% block cell-content %} +{% if categories %} + +{% endif %} +{% endblock %} diff --git a/combo/apps/wcs/templates/combo/wcs/current_drafts.html b/combo/apps/wcs/templates/combo/wcs/current_drafts.html index e7b293e..09cfc87 100644 --- a/combo/apps/wcs/templates/combo/wcs/current_drafts.html +++ b/combo/apps/wcs/templates/combo/wcs/current_drafts.html @@ -2,7 +2,7 @@ {% block cell-content %}

{% trans 'Current Drafts' %}

{% for slug, forms in current_drafts.items %} -
+ {% endfor %} +
{% endblock %} diff --git a/combo/apps/wcs/templates/combo/wcs/current_forms.html b/combo/apps/wcs/templates/combo/wcs/current_forms.html index c0a8679..e4adb0c 100644 --- a/combo/apps/wcs/templates/combo/wcs/current_forms.html +++ b/combo/apps/wcs/templates/combo/wcs/current_forms.html @@ -2,7 +2,7 @@ {% block cell-content %}

{% trans 'Current Forms' %}

{% for slug, forms in current_forms.items %} -
+ {% endfor %} diff --git a/combo/apps/wcs/templates/combo/wcs/user_all_forms.html b/combo/apps/wcs/templates/combo/wcs/user_all_forms.html index 6e0a715..36c2faa 100644 --- a/combo/apps/wcs/templates/combo/wcs/user_all_forms.html +++ b/combo/apps/wcs/templates/combo/wcs/user_all_forms.html @@ -2,7 +2,7 @@ {% block cell-content %}

{% trans 'All Forms' %}

{% for slug, forms in user_forms.items %} -
+ {% endfor %} diff --git a/combo/apps/wcs/templates/combo/wcs/user_done_forms.html b/combo/apps/wcs/templates/combo/wcs/user_done_forms.html index 0a9912c..2455a6f 100644 --- a/combo/apps/wcs/templates/combo/wcs/user_done_forms.html +++ b/combo/apps/wcs/templates/combo/wcs/user_done_forms.html @@ -2,7 +2,7 @@ {% block cell-content %}

{% trans 'Done Forms' %}

{% for slug, forms in user_forms.items %} -
+ {% endfor %} -- 2.18.0