fix: show stars for favorite movies
This commit is contained in:
parent
c6b34cbba1
commit
8bd9b6fd06
3 changed files with 6 additions and 8 deletions
|
@ -10,11 +10,9 @@
|
|||
<div class="header">{{ item.title }}</div>
|
||||
<div class="subheader flex-centered">
|
||||
{{ item.year }}
|
||||
{% unless item.favorite %}
|
||||
{% if item.rating %}
|
||||
<span class="rating"> ({{ item.rating }})</span>
|
||||
{% endif %}
|
||||
{% endunless %}
|
||||
{% if item.rating %}
|
||||
<span class="rating"> ({{ item.rating }})</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="header">{{ item.name }}</div>
|
||||
|
|
Reference in a new issue