add delete button for unavailable video

This commit is contained in:
simon 2023-05-22 17:34:49 +07:00
parent 5e92d06f21
commit 6fb788b259
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -108,6 +108,9 @@
<button data-id="{{ video.source.youtube_id }}" onclick="toIgnore(this)">Ignore</button>
<button id="{{ video.source.youtube_id }}" data-id="{{ video.source.youtube_id }}" onclick="downloadNow(this)">Download now</button>
{% endif %}
{% if video.source.message %}
<button class="danger-button" data-id="{{ video.source.youtube_id }}" onclick="forgetIgnore(this)">Delete</button>
{% endif %}
</div>
</div>
</div>