mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 21:16:38 +00:00
Merge pull request #732 from tcely/patch-3
Do not show controls when skipped
This commit is contained in:
commit
8b15ee5314
@ -9,7 +9,7 @@
|
|||||||
{% if media.title %}<h2 class="truncate"><strong>{{ media.title }}</strong></h2>{% endif %}
|
{% if media.title %}<h2 class="truncate"><strong>{{ media.title }}</strong></h2>{% endif %}
|
||||||
<p class="truncate"><strong><a href="{{ media.url }}" target="_blank"><i class="fas fa-link"></i> {{ media.url }}</a></strong></p>
|
<p class="truncate"><strong><a href="{{ media.url }}" target="_blank"><i class="fas fa-link"></i> {{ media.url }}</a></strong></p>
|
||||||
<p class="truncate">Downloading to: <strong>{{ media.source.directory_path }}</strong></p>
|
<p class="truncate">Downloading to: <strong>{{ media.source.directory_path }}</strong></p>
|
||||||
{% if download_state == 'downloaded' %}
|
{% if not media.skip and download_state == 'downloaded' %}
|
||||||
{% if media.source.is_audio %}
|
{% if media.source.is_audio %}
|
||||||
<audio controls src="{% url 'sync:media-content' pk=media.pk %}"></audio>
|
<audio controls src="{% url 'sync:media-content' pk=media.pk %}"></audio>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user