diff --git a/sapl/templates/sessao/expediente.html b/sapl/templates/sessao/expediente.html index 1a56fcf1a..940d73d97 100644 --- a/sapl/templates/sessao/expediente.html +++ b/sapl/templates/sessao/expediente.html @@ -8,21 +8,28 @@ {% block detail_content %} {% if perms|get_add_perm:view %} -
- {% csrf_token %} - - {% for e in expedientes %} -
- {{e.tipo}} - - -
-
- {% endfor %} - -
- -
+ {% if expedientes|length == 0 %} + + {% else %} +
+ {% csrf_token %} + + {% for e in expedientes %} +
+ {{e.tipo}} + + +
+
+ {% endfor %} + +
+ +
+ {% endif %} {% else %}