Videos now open in new tab.

This commit is contained in:
Tiberiu Chibici 2019-03-09 13:00:44 +02:00
parent 620860923b
commit 1ea26d9ab7

View File

@ -6,7 +6,7 @@
{% for video in videos %} {% for video in videos %}
<div class="card-wrapper d-flex align-items-stretch" style="width: 18rem;"> <div class="card-wrapper d-flex align-items-stretch" style="width: 18rem;">
<div class="card mx-auto"> <div class="card mx-auto">
<a href="{% url 'video' video.id %}"> <a href="{% url 'video' video.id %}" target="_blank">
<img class="card-img-top" src="{{ video.icon_best }}" alt="Thumbnail"> <img class="card-img-top" src="{{ video.icon_best }}" alt="Thumbnail">
</a> </a>
<div class="card-body"> <div class="card-body">