Projet

Général

Profil

0004-manager-replace-None-values-with-a-marker-44805.patch

Benjamin Dauvergne, 14 juillet 2020 18:24

Télécharger (1,41 ko)

Voir les différences:

Subject: [PATCH 4/4] manager: replace None values with a marker (#44805)

 .../templates/authentic2/manager/user_import_report.html        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/authentic2/manager/templates/authentic2/manager/user_import_report.html
111 111
              <tr class="{% if row.is_valid %}row-valid{% else %}row-invalid{% endif %} row-action-{{ row.action }}">
112 112
                <td class="row-line">{{ row.line }}</td>
113 113
                {% for cell in row %}
114
                  <td class="cell {% if cell.errors %}cell-errors{% endif %} {% if cell.action %}cell-action-{{ cell.action }}{% endif %}">{{ cell.value }}</td>
114
                  <td class="cell {% if cell.errors %}cell-errors{% endif %} {% if cell.action %}cell-action-{{ cell.action }}{% endif %}">{{ cell.value|default_if_none:"-" }}</td>
115 115
                {% endfor %}
116 116
                <td class="row-action">{% firstof row.action_display "-" %}</td>
117 117
              </tr>
118
-