dropin

alternative frontend for dropout.tv
git clone https://git.ce9e.org/dropin.git

commit
8100e20996cf4885ddcffb9ada29f863cdaac98d
parent
99d80d4382df3e647a8ec2072ee4f95e94fd6f62
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-03-27 03:25
fix item title in search

regression from 0e0ca536d0ee0c91e9d6c23675ccd995b1d4eb68

Diffstat

M templates/_list.html 4 ++--

1 files changed, 2 insertions, 2 deletions


diff --git a/templates/_list.html b/templates/_list.html

@@ -1,7 +1,7 @@
    1     1 <ul class="list">
    2     2     {% for item in items %}
    3     3         <li>
    4    -1             <a href="{% if item.type == 'file'%}{{ item._links.source.href }}{% else %}/{{ item.type }}/{{ item.id }}/{% endif %}" aria-label="{{ item.name }}">
   -1     4             <a href="{% if item.type == 'file'%}{{ item._links.source.href }}{% else %}/{{ item.type }}/{{ item.id }}/{% endif %}" aria-label="{{ item.name or item.title }}">
    5     5                 <div class="relative">
    6     6                     {% if item.thumbnail %}
    7     7                         <img src="{{ item.thumbnail.small }}" alt="" width="240" height="135" loading="lazy">
@@ -14,7 +14,7 @@
   14    14                         <div class="thumbnail-corner">{{ item.duration|duration }}</div>
   15    15                     {% endif %}
   16    16                 </div>
   17    -1                 <div class="list-item-title">{{ item.name }}</div>
   -1    17                 <div class="list-item-title">{{ item.name or item.title }}</div>
   18    18                 {% if item.metadata and item.metadata.episode_number %}
   19    19                     <div class="list-item-meta">Episode {{ item.metadata.episode_number }}</div>
   20    20                 {% endif %}