Browse Source

Redesign client parliament change_list for bootstrap

producao
Marcio Mazza 10 years ago
parent
commit
ebf3455ef3
  1. 18
      sigi/apps/servicos/templates/admin/servicos/casaatendida/change_list.html

18
sigi/apps/servicos/templates/admin/servicos/casaatendida/change_list.html

@ -11,17 +11,13 @@ function dismissRelatedLookupPopup(win, chosenId) {
document.location.href = url;
}
</script>
{% endblock %}
{% block object-tools %}
<ul class="object-tools">
<li>
<a id="lookup_id_casa_legislativa" onclick="return showRelatedObjectLookupPopup(this);"
href="{% url 'admin:casas_casalegislativa_changelist' %}?codigo_interlegis__exact=" class="addlink">
{% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}
</a>
</li>
</ul>
<input type="hidden" id="id_casa_legislativa" value="nenhum" onchange="alert('Eu mudei')"/>
{% block object-tools-items %}
<li><a id="lookup_id_casa_legislativa" onclick="return showRelatedObjectLookupPopup(this);"
href="{% url 'admin:casas_casalegislativa_changelist' %}?codigo_interlegis__exact=" class="addlink">
<span class="glyphicon glyphicon-plus"></span>
{% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}
</a></li>
{{ block.super }}
{% endblock %}

Loading…
Cancel
Save