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 %} {% load admin_list i18n reporting_tags %}
{% block object-tools-items %} {% 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> <span class="glyphicon glyphicon-shopping-cart"></span>
Carrinho / Exportar Ver Carrinho
</a></li> </a></li>
{{ block.super }} {{ block.super }}
{% endblock %} {% endblock %}

13
templates/admin/carrinho.html

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

Loading…
Cancel
Save