0001-simpler-title-filename-printing-in-templates-22516.patch
fargo/templates/fargo/table.html | ||
---|---|---|
26 | 26 |
data-url="{{row.record.get_download_url}}" |
27 | 27 |
> {# avoid cycle for Django 1.2-1.6 compatibility #} |
28 | 28 |
<td class="title"> |
29 |
{% if row.record.title %}{{ row.record.title }}{% else %}{{ row.record.filename }}{% endif %}
|
|
29 |
{{ row.record }}
|
|
30 | 30 |
</td> |
31 | 31 |
{% for column, cell in row.items %} |
32 | 32 |
<td {{ column.attrs.td.as_html }}>{% if column.localize == None %}{{ cell }}{% else %}{% if column.localize %}{{ cell|localize }}{% else %}{{ cell|unlocalize }}{% endif %}{% endif %}</td> |
33 |
- |