[templates] Small fix to obj title missing

This commit is contained in:
2025-10-14 10:58:54 -04:00
parent cbd46df4bc
commit 42ce6df9bd

View File

@ -12,6 +12,7 @@
</thead> </thead>
<tbody> <tbody>
{% for obj in object_list %} {% for obj in object_list %}
{% if obj.title %}
<tr> <tr>
<td><a href="{{obj.scrobble_set.last.get_absolute_url}}">{{obj.scrobble_set.last.local_timestamp}} <td><a href="{{obj.scrobble_set.last.get_absolute_url}}">{{obj.scrobble_set.last.local_timestamp}}
<td><a href="{{obj.get_absolute_url}}">{{obj}}</a></td> <td><a href="{{obj.get_absolute_url}}">{{obj}}</a></td>
@ -20,6 +21,7 @@
<td><a type="button" class="btn btn-sm btn-primary" href="{{obj.start_url}}">Scrobble</a></td> <td><a type="button" class="btn btn-sm btn-primary" href="{{obj.start_url}}">Scrobble</a></td>
{% endif %} {% endif %}
</tr> </tr>
{% endif %}
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>