Browse Source

Corrige bug ao adicionar novo evento

pull/159/head
Sesostris Vieira 2 years ago
parent
commit
e05767708f
  1. 50
      sigi/apps/eventos/templates/admin/eventos/evento/change_form.html

50
sigi/apps/eventos/templates/admin/eventos/evento/change_form.html

@ -2,29 +2,31 @@
{% load i18n admin_urls %} {% load i18n admin_urls %}
{% block object-tools-items %} {% block object-tools-items %}
<li> {% if object_id %}
<a href="{% url 'evento-declaracao' object_id %}"> <li>
<i class="left material-icons" aria-hidden="true">picture_as_pdf</i> <a href="{% url 'evento-declaracao' object_id %}">
{% trans "Declaração" %} <i class="left material-icons" aria-hidden="true">picture_as_pdf</i>
</a> {% trans "Declaração" %}
</li> </a>
<li> </li>
<a href="{% url opts|admin_urlname:'gantreport' object_id %}"> <li>
<i class="left material-icons" aria-hidden="true">insert_chart</i> <a href="{% url opts|admin_urlname:'gantreport' object_id %}">
{% trans "Gráfico de Gant" %} <i class="left material-icons" aria-hidden="true">insert_chart</i>
</a> {% trans "Gráfico de Gant" %}
</li> </a>
<li> </li>
<a href="{% url opts|admin_urlname:'checklistreport' object_id %}"> <li>
<i class="left material-icons" aria-hidden="true">picture_as_pdf</i> <a href="{% url opts|admin_urlname:'checklistreport' object_id %}">
{% trans "Checklist" %} <i class="left material-icons" aria-hidden="true">picture_as_pdf</i>
</a> {% trans "Checklist" %}
</li> </a>
<li> </li>
<a href="{% url opts|admin_urlname:'comunicacaoreport' object_id %}"> <li>
<i class="left material-icons" aria-hidden="true">picture_as_pdf</i> <a href="{% url opts|admin_urlname:'comunicacaoreport' object_id %}">
{% trans "Plano de comunicação" %} <i class="left material-icons" aria-hidden="true">picture_as_pdf</i>
</a> {% trans "Plano de comunicação" %}
</li> </a>
</li>
{% endif %}
{{ block.super }} {{ block.super }}
{% endblock %} {% endblock %}

Loading…
Cancel
Save