Browse Source

Fix parliamentarian cart (now as as regular page, not popup)

producao
Marcio Mazza 10 years ago
parent
commit
ccdf5fbd87
  1. 4
      sigi/apps/parlamentares/templates/admin/parlamentares/parlamentar/change_list.html
  2. 13
      templates/admin/carrinho.html

4
sigi/apps/parlamentares/templates/admin/parlamentares/parlamentar/change_list.html

@ -2,9 +2,9 @@
{% load admin_list i18n reporting_tags %}
{% block object-tools-items %}
<li><a class="btn" onclick="return showRelatedObjectLookupPopup(this);" href="carrinho/{{query_str}}">
<li><a class="btn" href="carrinho/{{query_str}}">
<span class="glyphicon glyphicon-shopping-cart"></span>
Carrinho / Exportar
Ver Carrinho
</a></li>
{{ block.super }}
{% endblock %}

13
templates/admin/carrinho.html

@ -1,4 +1,4 @@
{% extends "admin/change_list.html" %}
{% extends "admin/base_site.html" %}
{% load i18n %}
{% block extrastyle %}
{{ block.super }}
@ -23,22 +23,14 @@
margin: 0px;
}
.botoes a{
}
.botao_excluir input{
color: red;
background: url("../../static/admin/img/icon_deletelink.gif") no-repeat scroll 0 50% transparent
}
</style>
{% endblock %}
{% block branding %}{% endblock %}
{% block menu-principal %}{% endblock %}
{% block breadcrumbs %}{% endblock %}
{% block title %}Carrinho | SIGI{% endblock %}
{% block content_title %}<h1>Carrinho</h1>{% endblock %}
@ -104,6 +96,3 @@
</div>
{% endblock %}
{% block footer %}{% endblock %}

Loading…
Cancel
Save