Tota la set entry ara linka o bé al set o al tema
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
<li id="tune-entry-{{ tema_entry.id }}"
|
||||
class="flex flex-col w-full">
|
||||
<div class="flex flex-row my-1 w-full">
|
||||
<div class="flex-1 min-w-0 text-black font-bold">
|
||||
<div class="flex-1 min-w-0
|
||||
text-black font-bold
|
||||
break-words block">
|
||||
{% if tema_entry.tema %}
|
||||
<a href="/tema/{{ tema_entry.tema_id }}"
|
||||
class="break-words block">
|
||||
{{ tema_entry.tema.title }}
|
||||
</a>
|
||||
{% else %}
|
||||
<i class="fa fa-question" aria-hidden="true"></i>
|
||||
<i>(Desconegut)</i>
|
||||
@@ -33,10 +32,8 @@
|
||||
</div>
|
||||
<div class="my-1 w-full">
|
||||
{% if tema_entry.tema and tema_entry.tema.main_score() and tema_entry.tema.main_score().preview_url %}
|
||||
<a href="/tema/{{ tema_entry.tema.id }}">
|
||||
<img class="px-4 pb-2"
|
||||
<img class="pb-2"
|
||||
src="{{ tema_entry.tema.main_score().preview_url }}" />
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user