Browse Source

Pequeña corrección en la template de detalle_autor

politica
Celestino Rey 1 year ago
parent
commit
770c9d1db0
2 changed files with 5 additions and 2 deletions
  1. +1
    -1
      Libros/K8S/Makefile
  2. +4
    -1
      Libros/biblioteca/gestion/templates/gestion/detalle_autor.html

+ 1
- 1
Libros/K8S/Makefile View File

@ -1,5 +1,5 @@
export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':')
export IMG_VERSION = 1.46
export IMG_VERSION = 1.47
export IMG_NGINX_VERSION = 1.17 export IMG_NGINX_VERSION = 1.17
# limpia todo # limpia todo


+ 4
- 1
Libros/biblioteca/gestion/templates/gestion/detalle_autor.html View File

@ -21,6 +21,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="app-card-body p-4"> <div class="app-card-body p-4">
{% if libros %} {% if libros %}
@ -38,7 +39,7 @@
{% if libro.portada %} {% if libro.portada %}
<td class="cell"><img src="{{ libro.portada.url }}" alt="Portada del libro" width="200"></td> <td class="cell"><img src="{{ libro.portada.url }}" alt="Portada del libro" width="200"></td>
{% else %} {% else %}
<p>Sin imagen</p>
<td>Sin imagen</td>
{% endif %} {% endif %}
</tr> </tr>
{% endfor %} {% endfor %}
@ -47,7 +48,9 @@
{% else %} {% else %}
<p>No se han encontrado libros para este autor</p> <p>No se han encontrado libros para este autor</p>
{% endif %} {% endif %}
</div> </div>
</div> </div>
<div class="row g-3 mb-4 align-items-center justify-content-between"> <div class="row g-3 mb-4 align-items-center justify-content-between">


Loading…
Cancel
Save