1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-28 18:24:20 +00:00

Fix user list template

This commit is contained in:
Steffo 2017-09-14 11:23:05 +02:00
parent c1c2a6b174
commit 31af1c26fd

View file

@ -14,12 +14,11 @@
<th>Nome utente</th> <th>Nome utente</th>
<th>Elimina</th> <th>Elimina</th>
</tr> </tr>
</thead> {% for utente in utenti %}
<tr> <tr>
{% for utente in utenti %}
<td>{{ utente.username }}</td> <td>{{ utente.username }}</td>
<td>{% if utenti|length >= 2 and utente.username != user %}<a href="/user_del/{{ utente.uid }}"><span class="glyphicon glyphicon-remove"></span></a>{% endif %}</td> <td>{% if utenti|length >= 2 and utente.username != user %}<a href="/user_del/{{ utente.uid }}"><span class="glyphicon glyphicon-remove"></span></a>{% endif %}</td>
{% endfor %} </tr>
</tr> {% endfor %}
</table> </table>
{% endblock %} {% endblock %}