|
|
@@ -40,7 +40,11 @@
|
|
|
{% if evento.url_imagen %}
|
|
|
<img src="https://lh3.googleusercontent.com/d/{{ evento.url_imagen }}" alt="Imagen de {{ evento.nombre }}" width="205px" height="153px">
|
|
|
{% else %}
|
|
|
- <img class="thumb-image" src="{% static 'images/padel-court.jpg' %}" alt="">
|
|
|
+ {% if evento.para_parejas %}
|
|
|
+ <img class="thumb-image" src="{% static 'images/parejas.png' %}" alt="">
|
|
|
+ {% else %}
|
|
|
+ <img class="thumb-image" src="{% static 'images/padel-court.jpg' %}" alt="">
|
|
|
+ {% endif %}
|
|
|
{% endif %}
|
|
|
</div>
|
|
|
<a class="app-card-link-mask" href="{% url 'eventos:detalle_evento' evento.id %}"></a>
|