Replace width html rule in listing tables by style="width : ** "

This commit is contained in:
Maël Solard
2014-08-13 16:58:08 +02:00
parent 163a94d6b9
commit 243d92dd77
+2 -2
View File
@@ -2,10 +2,10 @@
{% for row in table.rows %}
<tr id="{{ row.id }}" class="{{ row.style }}" name="{{ row.trcpt }}">
{% for cell in row.cols %}
<td name="{{ cell.name }}" width="{{ cell.width }}" align="{{ cell.align }}" class="{{ cell.cssclass }}">
<td name="{{ cell.name }}" style="width: {{ cell.width }}; vertical-align: {{ cell.align }}" class="{{ cell.cssclass }}">
{% if cell.safe %}{{ cell.value|safe }}{% else %}{{ cell.value }}{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</tbody>