Browse Source

Ids em templates deixam de ser formatados segundo locale

producao
Marcio Mazza 10 years ago
parent
commit
52fd34e82f
  1. 2
      sigi/apps/casas/templates/casas/carrinho.html
  2. 2
      sigi/apps/convenios/templates/convenios/carrinho.html
  3. 2
      sigi/apps/diagnosticos/templates/diagnosticos/graficos.html
  4. 2
      sigi/apps/parlamentares/templates/parlamentares/carrinho.html
  5. 2
      sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html

2
sigi/apps/casas/templates/casas/carrinho.html

@ -41,7 +41,7 @@
<tr class="{% cycle 'row1' 'row2' %}">
{%if not carIsEmpty%}
<th><input type="checkbox" name="_selected_action"
value="{{casa.id}}" class="action-select" /></th>
value="{{casa.id|safe}}" class="action-select" /></th>
{% endif %}
<td style="text-align: left;">{{casa.nome}}</td>
<td>{{casa.municipio}}</td>

2
sigi/apps/convenios/templates/convenios/carrinho.html

@ -41,7 +41,7 @@
<tr class="{% cycle 'row1' 'row2' %}">
{%if not carIsEmpty%}
<th><input type="checkbox" name="_selected_action"
value="{{convenio.id}}" class="action-select" /></th>
value="{{convenio.id|safe}}" class="action-select" /></th>
{% endif %}
<td style="text-align: left;">{{convenio.num_convenio}}</td>
<td>{{convenio.casa_legislativa}}</td>

2
sigi/apps/diagnosticos/templates/diagnosticos/graficos.html

@ -52,7 +52,7 @@
{% csrf_token %}
<select name="categoria">
{% for categoria in categorias %}
<option value="{{ categoria.id }}" {% if categoria.id == sel_categoria %}selected="selected"{% endif %}>{{ categoria.nome }}</option>
<option value="{{ categoria.id|safe }}" {% if categoria.id == sel_categoria %}selected="selected"{% endif %}>{{ categoria.nome }}</option>
{% endfor %}
</select>
</form>

2
sigi/apps/parlamentares/templates/parlamentares/carrinho.html

@ -40,7 +40,7 @@
<tr class="{% cycle 'row1' 'row2' %}">
{%if not carIsEmpty%}
<th><input type="checkbox" name="_selected_action"
value="{{parlamentar.id}}" class="action-select" /></th>
value="{{parlamentar.id|safe}}" class="action-select" /></th>
{% endif %}
<td style="text-align: left;">{{parlamentar.nome_completo}}</td>
<td>{{parlamentar.nome_parlamentar}}</td>

2
sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html

@ -32,7 +32,7 @@
<tr> <td colspan="6">Nenhum serviço cadastrado para esta Casa Legislativa</td> </tr>
{% endfor %}
<tr class="add-row">
<td colspan="6"><a href="{% url 'admin:servicos_servico_add' %}?id_casa={{ original.id | safe }}">Adicionar outro Servico</a></td>
<td colspan="6"><a href="{% url 'admin:servicos_servico_add' %}?id_casa={{ original.id|safe }}">Adicionar outro Servico</a></td>
</tr>
</tbody>
</table>

Loading…
Cancel
Save