Browse Source

feita a tela de votacao em bloco

pull/2416/head
Cesar Carvalho 7 years ago
parent
commit
473d3b0f1b
  1. 17
      sapl/templates/sessao/votacao/votacao_bloco_expediente.html

17
sapl/templates/sessao/votacao/votacao_bloco_expediente.html

@ -36,6 +36,12 @@
{% if paginator.count %} {% if paginator.count %}
<form method="POST" enctype="application/x-www-form-urlencoded"> <form method="POST" enctype="application/x-www-form-urlencoded">
{% csrf_token %} {% csrf_token %}
{% if paginator.count > 1 %}
<h3>{% blocktrans with paginator.count as total_materias %}Pesquisa concluída com sucesso! Foram encontradas {{total_materias}} matérias.{% endblocktrans %}</h3>
{% elif paginator.count == 1 %}
<h3>{% trans 'Pesquisa concluída com sucesso! Foi encontrada 1 matéria.'%}</h3>
{% endif %}
<br><br>
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered">
<thead class="thead-default"> <thead class="thead-default">
<tr> <tr>
@ -52,19 +58,16 @@
</td> </td>
</tr> </tr>
</table> </table>
<br>
<h3>Selecione a(s) matéria(s) desejada(s).</h3>
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered">
<thead class="thead-default"> <thead class="thead-default">
<tr> <tr>
<td><h3>{% trans "Matérias" %}</h3></td> <td><h3>{% trans "Matérias" %}</h3></td>
</tr> </tr>
</thead> </thead>
{% if paginator.count > 1 %}
<h3>{% blocktrans with paginator.count as total_materias %}Pesquisa concluída com sucesso! Foram encontradas {{total_materias}} matérias.{% endblocktrans %}</h3>
{% elif paginator.count == 1 %}
<h3>{% trans 'Pesquisa concluída com sucesso! Foi encontrada 1 matéria.'%}</h3>
{% endif %}
<br>
<h3>Selecione a(s) matéria(s) desejada(s).</h3>
{% for m in page_obj %} {% for m in page_obj %}
<tr> <tr>
<td> <td>

Loading…
Cancel
Save