Browse Source

Adiciona link da reserva na agenda. Gertiq #169865

pull/169/head
Sesóstris Vieira 1 year ago
parent
commit
b80f81af33
  1. 8
      sigi/apps/espacos/templates/espacos/snippets/agenda_cal.html

8
sigi/apps/espacos/templates/espacos/snippets/agenda_cal.html

@ -28,7 +28,13 @@
{% for reserva, tupla in reservas %} {% for reserva, tupla in reservas %}
{% for x in ""|ljust:tupla.0|make_list %}<td></td>{% endfor %} {% for x in ""|ljust:tupla.0|make_list %}<td></td>{% endfor %}
<td colspan="{{ tupla.1 }}" class="blue lighten-4"> <td colspan="{{ tupla.1 }}" class="blue lighten-4">
<p><strong>{{ reserva.proposito }}</strong></p> <p>
<strong>
<a href="{% url "admin:espacos_reserva_change" reserva.id %}">
{{ reserva.proposito }}
</a>
</strong>
</p>
<p>{{ reserva.inicio|interval:reserva.termino }}</p> <p>{{ reserva.inicio|interval:reserva.termino }}</p>
<p> <p>
{% blocktranslate with solicitante=reserva.solicitante %} {% blocktranslate with solicitante=reserva.solicitante %}

Loading…
Cancel
Save