Quarantine plugin update:

All functions are back. Big refactoring of this module, the last thing that remains
is the need of DB optimization for big tables.
This commit is contained in:
tonio
2010-04-19 14:31:36 +02:00
parent 5ff96dfa8d
commit ffbb054089
9 changed files with 84 additions and 104 deletions
+3 -5
View File
@@ -2,11 +2,9 @@
{% for row in table.rows %}
<tr id="{{ row.id }}" class="{% cycle 'odd' 'even' %}">
{% for cell in row.cols %}
{% if cell.safe %}
<td width="{{ cell.width }}">{{ cell.value|safe }}</td>
{% else %}
<td width="{{ cell.width }}" class="{{ cell.class }}">{{ cell.value }}</td>
{% endif %}
<td width="{{ cell.width }}" align="{{ cell.align }}" class="{{ cell.class }}">
{% if cell.safe %}{{ cell.value|safe }}{% else %}{{ cell.value }}{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
+1 -1
View File
@@ -2,7 +2,7 @@
<tr>
{% for c in table.columns %}
{% if c.sortable %}
<th id="{{ c.name }}" class="sortable" width="{{ c.width }}">
<th id="{{ c.name }}" class="sortable" width="{{ c.width }}" align="{{ c.align }}">
{% else %}
<th id="{{ c.name }}" width="{{ c.width }}">
{% endif %}