Skip to content
Snippets Groups Projects
Verified Commit c8aace35 authored by Lukas Schauer's avatar Lukas Schauer :unlock:
Browse files

jitsi recordings: use masterfile for download instead of original

parent 3aaa17ee
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@
<div class="w3-bar-item w3-right w3-right-align">
<span>Uploaded: {{ video.created_at|date:"d.m.Y" }}</span><br/>
<form id="video-deleteform-{{ video.id }}" action="?" method="post">{% csrf_token %}<input type="hidden" name="deleterecording" value="{{ video.id }}" /></form>
<span><a href="#" onclick='if(confirm("Do you really want to delete this file?")) document.getElementById("video-deleteform-{{ video.id }}").submit();' class='w3-text-red'>Delete</a> | <a href="{{ MEDIA_URL }}{{ video.original }}?key={{ video.key }}&timestamp={{ video.created_at|date:'U' }}" download>Download</a></span>
<span><a href="#" onclick='if(confirm("Do you really want to delete this file?")) document.getElementById("video-deleteform-{{ video.id }}").submit();' class='w3-text-red'>Delete</a> | <a href="{{ MEDIA_URL }}{{ video.masterfile }}?key={{ video.key }}&timestamp={{ video.created_at|date:'U' }}" download>Download</a></span>
</div>
</li>
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment