Browse Source

altera origem da imagem para etiqueta.png

pull/2485/head
Leandro Roberto 7 years ago
parent
commit
6006b1c0fb
  1. 3
      sapl/templates/protocoloadm/protocolo_filter.html
  2. 4
      sapl/templates/protocoloadm/protocolo_list.html
  3. 3
      sapl/templates/protocoloadm/protocolo_mostrar.html

3
sapl/templates/protocoloadm/protocolo_filter.html

@ -3,6 +3,7 @@
{% load tz %} {% load tz %}
{% load crispy_forms_tags %} {% load crispy_forms_tags %}
{% load static %} {% load static %}
{% load webpack_static from webpack_loader %}
{% block actions %} {% block actions %}
@ -40,7 +41,7 @@
<td> <td>
<strong>Protocolo: <strong>Protocolo:
<a href="{% url 'sapl.protocoloadm:protocolo_mostrar' p.pk %}">{{ p.numero|stringformat:'06d' }}/{{ p.ano }}</a></strong>&nbsp;&nbsp;<strong>-</strong>&nbsp;&nbsp; <a href="{% url 'sapl.protocoloadm:protocolo_mostrar' p.pk %}">{{ p.numero|stringformat:'06d' }}/{{ p.ano }}</a></strong>&nbsp;&nbsp;<strong>-</strong>&nbsp;&nbsp;
<a href="{% url 'sapl.relatorios:relatorio_etiqueta_protocolo' p.numero p.ano %}"><img src="{% static 'img/etiqueta.png' %}" alt="Etiqueta Individual"></a> <a href="{% url 'sapl.relatorios:relatorio_etiqueta_protocolo' p.numero p.ano %}"><img src="{% webpack_static 'img/etiqueta.png' %}" alt="Etiqueta Individual"></a>
{% if p.anulado %}<strong><font color="red">&nbsp;&nbsp;** NULO **</font></strong>{% endif %} {% if p.anulado %}<strong><font color="red">&nbsp;&nbsp;** NULO **</font></strong>{% endif %}
</br> </br>
<strong>Assunto:</strong> {{ p.assunto_ementa|default_if_none:"Não informado"}}</br> <strong>Assunto:</strong> {{ p.assunto_ementa|default_if_none:"Não informado"}}</br>

4
sapl/templates/protocoloadm/protocolo_list.html

@ -3,6 +3,8 @@
{% load tz %} {% load tz %}
{% load crispy_forms_tags %} {% load crispy_forms_tags %}
{% load static %} {% load static %}
{% load webpack_static from webpack_loader %}
{% block detail_content %} {% block detail_content %}
{% if protocolos %} {% if protocolos %}
<table> <table>
@ -17,7 +19,7 @@
</a> </a>
&nbsp;&nbsp;-&nbsp;&nbsp; &nbsp;&nbsp;-&nbsp;&nbsp;
<a href="{% url 'sapl.relatorios:relatorio_etiqueta_protocolo' p.numero p.ano %}"> <a href="{% url 'sapl.relatorios:relatorio_etiqueta_protocolo' p.numero p.ano %}">
<img src="{% static 'img/etiqueta.png' %}" alt="Etiqueta Individual"> <img src="{% webpack_static 'img/etiqueta.png' %}" alt="Etiqueta Individual">
</a></br> </a></br>
<strong>Assunto:</strong> {{ p.assunto_ementa }}</br> <strong>Assunto:</strong> {{ p.assunto_ementa }}</br>
<strong>Data Protocolo:</strong> {{ p.data|date:"d/m/Y" }} - Horário: {{ p.timestamp|localtime|date:"H:m:s" }}</br> <strong>Data Protocolo:</strong> {{ p.data|date:"d/m/Y" }} - Horário: {{ p.timestamp|localtime|date:"H:m:s" }}</br>

3
sapl/templates/protocoloadm/protocolo_mostrar.html

@ -3,6 +3,7 @@
{% load tz %} {% load tz %}
{% load crispy_forms_tags %} {% load crispy_forms_tags %}
{% load static %} {% load static %}
{% load webpack_static from webpack_loader %}
{% block actions %} {% block actions %}
@ -14,7 +15,7 @@
{% block detail_content %} {% block detail_content %}
<strong>Protocolo: </strong>{{ protocolo.numero|stringformat:'06d' }}/{{ protocolo.ano }} - <strong>Protocolo: </strong>{{ protocolo.numero|stringformat:'06d' }}/{{ protocolo.ano }} -
<a href="{% url 'sapl.relatorios:relatorio_etiqueta_protocolo' protocolo.numero protocolo.ano %}"><img src="{% static 'img/etiqueta.png' %}" alt="Etiqueta Individual"></a></br> <a href="{% url 'sapl.relatorios:relatorio_etiqueta_protocolo' protocolo.numero protocolo.ano %}"><img src="{% webpack_static 'img/etiqueta.png' %}" alt="Etiqueta Individual"></a></br>
<strong>Assunto: </strong> {{ protocolo.assunto_ementa|default:"Não informado" }}</br> <strong>Assunto: </strong> {{ protocolo.assunto_ementa|default:"Não informado" }}</br>
{% if protocolo.timestamp %} {% if protocolo.timestamp %}

Loading…
Cancel
Save