0001-django-tables2-make-it-compatible-with-dj-tables2-1..patch
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 |
- |