diff --git a/src/templates/macrociclos/detalle_deportista.html b/src/templates/macrociclos/detalle_deportista.html index bf0bc7e..5693c12 100644 --- a/src/templates/macrociclos/detalle_deportista.html +++ b/src/templates/macrociclos/detalle_deportista.html @@ -12,22 +12,10 @@
-

{{ repostaje.fecha }}

+

{{ deportista.nombre }}

    -
  • {{ repostaje.vehiculo.matricula }}
  • -
  • |
  • -
  • {{ repostaje.kms }} kms
  • -
  • |
  • -
  • {{ repostaje.litros }} litros
  • -
  • |
  • -
  • {{ repostaje.importe }} €
  • -
  • |
  • -
  • {{ repostaje.kmsrecorridos }} kms. recorridos
  • -
  • |
  • -
  • {{ repostaje.consumo }} litros/100 kms
  • -
  • |
  • -
  • {{ repostaje.precioxlitro }} €/litros
  • +
diff --git a/src/templates/macrociclos/detalle_entrenador.html b/src/templates/macrociclos/detalle_entrenador.html index 29a3ba4..a6401bc 100644 --- a/src/templates/macrociclos/detalle_entrenador.html +++ b/src/templates/macrociclos/detalle_entrenador.html @@ -12,56 +12,14 @@
- {% if vehiculo.foto %} -

{{ vehiculo.matricula}}

- {% else %} -

No hay imágen disponible

- {% endif %} -
-
-

{{ vehiculo.matricula }}

+

{{ entrenador.nombre }}

    -
  • {{ vehiculo.matricula }}
  • +
  • {{ entrenador.nombre }}
-
- - {% if macrociclos %} - - - - - - - - - - - - - - - {% for macrociclo in macrociclos %} - - - - - - - - - - - {% endfor %} - -
FechaKilómetrosLitrosImporteDescuentoPrecio por litroKms recorridosConsumo/100 kms
{{ macrociclo.fecha }}{{ macrociclo.kms }}{{ macrociclo.litros }}{{ macrociclo.importe }}{{ macrociclo.descuento }}{{ macrociclo.precioxlitro }}{{ macrociclo.kmsrecorridos }}{{ macrociclo.consumo }}
- {% else %} -

No se han encontrado macrociclos para este vehiculo

- {% endif %} -
@@ -70,7 +28,7 @@
- Añadir macrociclo + Añadir macrociclo
diff --git a/src/templates/macrociclos/lista_deportistas.html b/src/templates/macrociclos/lista_deportistas.html index e6a9c65..968476e 100644 --- a/src/templates/macrociclos/lista_deportistas.html +++ b/src/templates/macrociclos/lista_deportistas.html @@ -25,38 +25,7 @@
-
- - - - - - - - - - - - - - - {% for macrociclo in macrociclos %} - - - - - - - - - - - - - - {% endfor %} -
FechaVehículoKilómetrosLitrosImporteDescuentoPrecio por litroKms recorridosConsumo/100 kms
{{ macrociclo.fecha }}{{ macrociclo.vehiculo.matricula }}{{ macrociclo.kms }}{{ macrociclo.litros }}{{ macrociclo.importe }} €{{ macrociclo.descuento }} €{{ macrociclo.precioxlitro }} €{{ macrociclo.kmsrecorridos }}{{ macrociclo.consumo }}
{% endblock %} diff --git a/src/templates/macrociclos/lista_entrenadores.html b/src/templates/macrociclos/lista_entrenadores.html index 87c9a85..4bcd1c4 100644 --- a/src/templates/macrociclos/lista_entrenadores.html +++ b/src/templates/macrociclos/lista_entrenadores.html @@ -18,60 +18,14 @@
- {% for vehiculo in vehiculos %} -
-
-
- - {% if vehiculo.foto %} - Foto del vehiculo - {% else %} - Sin imágen - {% endif %} -

{{ vehiculo.matricula}}

- -
- -
- -
-
-
- {% endfor %} +
{% endblock %}