diff --git a/cotisations/templates/cotisations/aff_cost_estimate.html b/cotisations/templates/cotisations/aff_cost_estimate.html
index fe654744..269dc6af 100644
--- a/cotisations/templates/cotisations/aff_cost_estimate.html
+++ b/cotisations/templates/cotisations/aff_cost_estimate.html
@@ -73,9 +73,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{{ estimate.id }} |
{% if estimate.final_invoice %}
-
+
{% else %}
-
+
{% endif %}
|
diff --git a/cotisations/templates/cotisations/aff_cotisations.html b/cotisations/templates/cotisations/aff_cotisations.html
index e48a6e2b..05be4861 100644
--- a/cotisations/templates/cotisations/aff_cotisations.html
+++ b/cotisations/templates/cotisations/aff_cotisations.html
@@ -60,7 +60,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
{{ facture.user }} |
-
+
{% for article in facture.name_detailed %}
diff --git a/re2o/templatetags/design.py b/re2o/templatetags/design.py
index 488b1489..45739133 100644
--- a/re2o/templatetags/design.py
+++ b/re2o/templatetags/design.py
@@ -31,9 +31,9 @@ def tick(valeur, autoescape=False):
if isinstance(valeur, bool):
if valeur == True:
- result = ''
+ result = ''
else:
- result = ''
+ result = ''
return mark_safe(result)
else: # if the value is not a boolean, display it as if tick was not called
diff --git a/tickets/templates/tickets/aff_tickets.html b/tickets/templates/tickets/aff_tickets.html
index beaadc4f..caf82cf3 100644
--- a/tickets/templates/tickets/aff_tickets.html
+++ b/tickets/templates/tickets/aff_tickets.html
@@ -46,7 +46,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
-
+
diff --git a/users/templates/users/aff_whitelists.html b/users/templates/users/aff_whitelists.html
index fdfd0b76..40d55d28 100644
--- a/users/templates/users/aff_whitelists.html
+++ b/users/templates/users/aff_whitelists.html
@@ -30,43 +30,44 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% load acl %}
{% load logs_extra %}
-
-
-
- {% trans "User" as tr_user %}
- {% include 'buttons/sort.html' with prefix='white' col="user" text=tr_user %} |
- {% trans "Reason" %} |
- {% trans "Start date" as tr_start %}
- {% include 'buttons/sort.html' with prefix='white' col="start" text=tr_start %} |
- {% trans "End date" as tr_end %}
- {% include 'buttons/sort.html' with prefix='white' col="end" text=tr_end %} |
- |
-
-
- {% for whitelist in white_list %}
- {% if whitelist.is_active %}
-
- {% else %}
-
+
+
+
+
+ {% trans "User" as tr_user %}
+ {% include 'buttons/sort.html' with prefix='white' col="user" text=tr_user %} |
+ {% trans "Reason" %} |
+ {% trans "Start date" as tr_start %}
+ {% include 'buttons/sort.html' with prefix='white' col="start" text=tr_start %} |
+ {% trans "End date" as tr_end %}
+ {% include 'buttons/sort.html' with prefix='white' col="end" text=tr_end %} |
+ |
+
+
+ {% for whitelist in white_list %}
+ {% if whitelist.is_active %}
+
+ {% else %}
+
+ {% endif %}
+ {{ whitelist.user }} |
+ {{ whitelist.raison }} |
+ {{ whitelist.date_start }} |
+ {{ whitelist.date_end }} |
+
+ {% can_delete whitelist %}
+ {% include 'buttons/suppr.html' with href='users:del-whitelist' id=whitelist.id %}
+ {% acl_end %}
+ {% history_button whitelist %}
+ {% can_edit whitelist %}
+ {% include 'buttons/edit.html' with href='users:edit-whitelist' id=whitelist.id %}
+ {% acl_end %}
+ |
+
+ {% endfor %}
+
+
+ {% if white_list.paginator %}
+ {% include 'pagination.html' with list=white_list %}
{% endif %}
- {{ whitelist.user }} |
- {{ whitelist.raison }} |
- {{ whitelist.date_start }} |
- {{ whitelist.date_end }} |
-
- {% can_delete whitelist %}
- {% include 'buttons/suppr.html' with href='users:del-whitelist' id=whitelist.id %}
- {% acl_end %}
- {% history_button whitelist %}
- {% can_edit whitelist %}
- {% include 'buttons/edit.html' with href='users:edit-whitelist' id=whitelist.id %}
- {% acl_end %}
- |
-
- {% endfor %}
-
-
-{% if white_list.paginator %}
- {% include 'pagination.html' with list=white_list %}
-{% endif %}
-
+
| |