Projet

Général

Profil

0001-dj11-make-table.html-compatible-with-dj11-and-django.patch

Benjamin Dauvergne, 03 avril 2018 10:50

Télécharger (987 octets)

Voir les différences:

Subject: [PATCH] dj11: make table.html compatible with dj11 and django-tables2
 (fixes #22946)

 fargo/templates/fargo/table.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fargo/templates/fargo/table.html
36 36
      {% endwith %}
37 37
    <td class="action-column" rowspan={{ row.record.description|yesno:"2,1" }}>
38 38
      {% block action-column %}
39
      {% if include_edit_link %}
39
      {% if table.context.include_edit_link or include_edit_link %}<!-- dj11 compatibility -->
40 40
        <a class="icon-edit" rel="popup" href="{% url 'edit' pk=row.record.pk %}"></a>
41 41
      {% endif %}
42 42
      {% if row.record.deletable_by_user %}
43
-