diff --git a/templates/paginacao.html b/templates/paginacao.html new file mode 100644 index 000000000..4858e9132 --- /dev/null +++ b/templates/paginacao.html @@ -0,0 +1,31 @@ + {% if is_paginated %} + + {% endif %} \ No newline at end of file diff --git a/templates/protocoloadm/proposicoes_incorporadas.html b/templates/protocoloadm/proposicoes_incorporadas.html index d46f0d43a..b6f8bcf5b 100644 --- a/templates/protocoloadm/proposicoes_incorporadas.html +++ b/templates/protocoloadm/proposicoes_incorporadas.html @@ -10,9 +10,9 @@ {{ p.data_envio|date:"d/m/Y" }} - + {{ p.descricao }} @@ -22,35 +22,5 @@ {% endfor %} - {% if is_paginated %} - - {% endif %} + {% include "paginacao.html" %} {% endblock detail_content %} \ No newline at end of file diff --git a/templates/protocoloadm/proposicoes_naoincorporadas.html b/templates/protocoloadm/proposicoes_naoincorporadas.html index 703390295..8b49aab08 100644 --- a/templates/protocoloadm/proposicoes_naoincorporadas.html +++ b/templates/protocoloadm/proposicoes_naoincorporadas.html @@ -10,9 +10,9 @@ {{ p.data_envio|date:"d/m/Y" }} - + {{ p.descricao }} @@ -22,35 +22,5 @@ {% endfor %} - {% if is_paginated %} - - {% endif %} + {% include "paginacao.html" %} {% endblock detail_content %} \ No newline at end of file diff --git a/templates/protocoloadm/proposicoes_naorecebidas.html b/templates/protocoloadm/proposicoes_naorecebidas.html index a43647d50..1dedaa86e 100644 --- a/templates/protocoloadm/proposicoes_naorecebidas.html +++ b/templates/protocoloadm/proposicoes_naorecebidas.html @@ -10,9 +10,9 @@ {{ p.data_envio|date:"d/m/Y" }} - + {{ p.descricao }} @@ -22,35 +22,5 @@ {% endfor %} - {% if is_paginated %} - - {% endif %} + {% include "paginacao.html" %} {% endblock detail_content %} \ No newline at end of file diff --git a/templates/protocoloadm/protocolo_list.html b/templates/protocoloadm/protocolo_list.html index c123b0926..3dd07a07d 100644 --- a/templates/protocoloadm/protocolo_list.html +++ b/templates/protocoloadm/protocolo_list.html @@ -20,36 +20,5 @@ {% endfor %} - - {% if is_paginated %} - - {% endif %} + {% include "paginacao.html" %} {% endblock detail_content %} diff --git a/templates/protocoloadm/protocolo_pesquisa.html b/templates/protocoloadm/protocolo_pesquisa.html index 5c56ad669..e85470fe0 100644 --- a/templates/protocoloadm/protocolo_pesquisa.html +++ b/templates/protocoloadm/protocolo_pesquisa.html @@ -24,37 +24,7 @@ {% endfor %} - {% if is_paginated %} - - {% endif %} + {% include "paginacao.html" %} {% else %}