Projet

Général

Profil

0003-manager-remove-possibility-of-rel-popup-on-table-row.patch

Benjamin Dauvergne, 29 janvier 2022 08:32

Télécharger (1,22 ko)

Voir les différences:

Subject: [PATCH 3/3] manager: remove possibility of rel=popup on table rows
 (#59991)

 .../manager/templates/authentic2/manager/table.html       | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
src/authentic2/manager/templates/authentic2/manager/table.html
19 19
{% endblock table.thead %}
20 20

  
21 21
{% block table.tbody.row %}
22
<tr 
23
     {{ row.attrs.as_html }}
24
     {% if table.context.row_link %}
25
       {% if popup_edit %}
26
         rel="popup"
27
       {% endif %}
28
     {% endif %}>
22
<tr {{ row.attrs.as_html }}>
29 23
            {% for column, cell in row.items %}
30 24
                <td {{ column.attrs.td.as_html }}>{% if column.localize == None %}{{ cell }}{% else %}{% if column.localize %}{{ cell|localize }}{% else %}{{ cell|unlocalize }}{% endif %}{% endif %}</td>
31 25
            {% endfor %}
32
-