fix: renders media exists badge on movie results

This commit is contained in:
2025-07-13 22:21:04 -05:00
parent b42981b2a1
commit 31e364d691
10 changed files with 83 additions and 64 deletions

View File

@@ -6,7 +6,7 @@
<template data-popover-target="content">
<div data-popover-target="card"
class="absolute z-40 p-1 bg-stone-400 p-1 text-black rounded-md m-1 animate-fade">
<p class="font-bold text-sm text-left">Existing file(s) for this episode:</p>
<p class="font-bold text-sm text-left">Existing file(s) for this media:</p>
<ul class="list-disc ml-3">
<li class="font-normal">{{ result.file.filename|strip_media_path }} &mdash; <strong>{{ result.file.size|filesize }}</strong></li>
</ul>
@@ -23,7 +23,7 @@
{% if result.exists == false %}
<small class="py-1 px-1.5 mr-1 grow-0 font-bold bg-rose-600 rounded-lg text-white"
title="Episode has not been downloaded yet.">
title="Media has not been downloaded yet.">
missing
</small>
{% endif %}