releases: make cover clickable
This commit is contained in:
parent
a77f2a86bb
commit
f21b23e849
|
@ -20,6 +20,7 @@
|
|||
flex-shrink: 0;
|
||||
width: 300px;
|
||||
background-size: cover;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.release .infos {
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
<div class="release">
|
||||
<div
|
||||
class="cover"
|
||||
style="background-image: url('{{ MEDIA_URL }}{{ release.cover }}')">
|
||||
style="background-image: url('{{ MEDIA_URL }}{{ release.cover }}')"
|
||||
onclick='window.location="{% url 'release' release.tag|lower %}"'>
|
||||
</div>
|
||||
|
||||
<div class="infos">
|
||||
|
|
Loading…
Reference in a new issue