Skip to content

Commit

Permalink
Merge pull request #732 from tcely/patch-3
Browse files Browse the repository at this point in the history
Do not show controls when skipped
  • Loading branch information
meeb authored Feb 17, 2025
2 parents 3de9833 + 92e6c04 commit 8b15ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tubesync/sync/templates/sync/media-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1 class="truncate">Media <strong>{{ media.key }}</strong> {{ download_state_ic
{% 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">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 %}
<audio controls src="{% url 'sync:media-content' pk=media.pk %}"></audio>
{% else %}
Expand Down

0 comments on commit 8b15ee5

Please sign in to comment.