use can_download flag for media front end messages

This commit is contained in:
meeb
2020-12-09 19:54:34 +11:00
parent 35bd26727b
commit 602eb9b90f
3 changed files with 3 additions and 2 deletions

View File

@@ -10,6 +10,7 @@
<p class="truncate">Saving to: <strong>{{ media.source.directory_path }}</strong></p>
</div>
</div>
{% if not media.can_download %}{% include 'errorbox.html' with message='Media cannot be downloaded because it has no formats which match the source requirements.' %}{% endif %}
<div class="row">
<div class="col s12">
<table class="striped">