Browse Source

Pongo enlace en la foto del artista

main
Celestino Rey 7 months ago
parent
commit
e5a4b24366
6 changed files with 4 additions and 2486 deletions
  1. +1
    -1
      K8S/Makefile
  2. +0
    -1
      K8S/creaDirs.sh
  3. +1
    -1
      K8S/env-prod-configmap.yaml
  4. +0
    -15
      K8S/pv-local-reymota.yaml
  5. +0
    -2466
      K8S/reymota-0.18.sql
  6. +2
    -2
      src/templates/lyrics/lista_artistas.html

+ 1
- 1
K8S/Makefile View File

@ -1,6 +1,6 @@
export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':')
export REGISTRY=registry.reymota.es export REGISTRY=registry.reymota.es
export IMG_VERSION = 0.73
export IMG_VERSION = 0.74
export IMG_NGINX_VERSION = 1.0 export IMG_NGINX_VERSION = 1.0
# limpia todo # limpia todo


+ 0
- 1
K8S/creaDirs.sh View File

@ -1,6 +1,5 @@
sudo mkdir -p /mnt/Externo/reymota/media sudo mkdir -p /mnt/Externo/reymota/media
sudo mkdir -p /mnt/Externo/reymota/migrations/lyrics sudo mkdir -p /mnt/Externo/reymota/migrations/lyrics
sudo mkdir -p /mnt/Externo/reymota/migrations/libros
sudo mkdir -p /mnt/Externo/reymota/migrations/repostajes sudo mkdir -p /mnt/Externo/reymota/migrations/repostajes
sudo mkdir -p /mnt/Externo/reymota/migrations/reymotausers sudo mkdir -p /mnt/Externo/reymota/migrations/reymotausers
sudo mkdir -p /mnt/Externo/reymota/static sudo mkdir -p /mnt/Externo/reymota/static


+ 1
- 1
K8S/env-prod-configmap.yaml View File

@ -2,7 +2,7 @@ apiVersion: v1
data: data:
DEBUG: "False" DEBUG: "False"
ENTORNO: "Producción" ENTORNO: "Producción"
APP_VERSION: 15.0.0
APP_VERSION: 15.0.1
SECRET_KEY: change_me SECRET_KEY: change_me
SQL_HOST: postgresql SQL_HOST: postgresql
SQL_PORT: "5432" SQL_PORT: "5432"


+ 0
- 15
K8S/pv-local-reymota.yaml View File

@ -30,21 +30,6 @@ spec:
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolume kind: PersistentVolume
metadata:
name: reymota-libros-migrations-folder
namespace: reymota
labels:
app: reymota
spec:
capacity:
storage: 51Mi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/Externo/reymota/migrations/libros"
---
apiVersion: v1
kind: PersistentVolume
metadata: metadata:
name: reymota-repostajes-migrations-folder name: reymota-repostajes-migrations-folder
namespace: reymota namespace: reymota


+ 0
- 2466
K8S/reymota-0.18.sql
File diff suppressed because it is too large
View File


+ 2
- 2
src/templates/lyrics/lista_artistas.html View File

@ -31,9 +31,9 @@
<div class="app-card-body p-3 has-card-actions"> <div class="app-card-body p-3 has-card-actions">
{% if artista.foto %} {% if artista.foto %}
<img src="{{ artista.foto.url }}" alt="Foto del artista" style="width:200px;height:200px;">
<a href="{% url 'lyrics:detalle_artista' artista.id %}"><img src="{{ artista.foto.url }}" alt="Foto del artista" style="width:200px;height:200px;"></a>
{% else %} {% else %}
Sin imágen
<a href="{% url 'lyrics:detalle_artista' artista.id %}">{{ artista.nombre }}</a>
{% endif %} {% endif %}
<h4 class="app-doc-title truncate mb-0"><a href="{% url 'lyrics:detalle_artista' artista.id %}">{{ artista.matricula}}</a></h4> <h4 class="app-doc-title truncate mb-0"><a href="{% url 'lyrics:detalle_artista' artista.id %}">{{ artista.matricula}}</a></h4>


Loading…
Cancel
Save