Utente.ReadOnlyList.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {% extends 'base.html' %}
  2. {% block body %}
  3. <table class='table table-striped table-hover'>
  4. <thead class='thead-dark'>
  5. <tr>
  6. <th scope='col'>#</th>
  7. <th scope='col'>Mail</th>
  8. <th scope='col'>Nome</th>
  9. <th scope='col'>*</th>
  10. <th scope='col'>l</th>
  11. <th scope='col'>quota</th>
  12. <!--{% if 'USERSHOWCLEARPASSWORD' in securitylist %}<th scope='col'>Password</th>{% endif %}i-->
  13. <th scope='col'>Agg.Pas</th>
  14. <th scope='col'>Attivo</th>
  15. <th scope='col'>Da cancellare</th>
  16. </tr>
  17. </thead>
  18. <tbody>
  19. {% for u in userlist %}
  20. <tr class='{% if not u.enabled %} table-dark {% endif %}' >
  21. <th scope='row'>{{ u.id }}{% if u.securitylevel.id == 5 %} * {% endif %}</th>
  22. <td> {{ u.mail }} </td>
  23. <td> {{ u.nome }} </td>
  24. <td>{% if u.enabled %}*{% else %}-{% endif %}</td>
  25. <td>{{ u.securitylevel.id }}</td>
  26. <td>{{ u.mail_quota }}Mb/{% if u.warning_mail_quota %}{{ u.warning_mail_quota }}Mb{% else %}--{% endif %}
  27. <!-- {% if 'USERSHOWCLEARPASSWORD' in securitylist %} <td>{{ u.clear }}</td> {% endif %} -->
  28. <td>{% if u.last_password_update %}{{ u.last_password_update }}{% endif %}</td>
  29. <td>{% if not u.enabled %}Utente Disattivato {% else %} {% endif %}</td>
  30. <td>{% if u.tobedeleted %}In Cancellazione {% else %} {% endif %} </td>
  31. </tr>
  32. {% endfor %}
  33. </tbody>
  34. {% endblock %}