]> git.0d.be Git - panikdb.git/commitdiff
use new accessor to get soundfile url
authorFrédéric Péters <fpeters@0d.be>
Thu, 27 May 2021 15:22:18 +0000 (17:22 +0200)
committerFrédéric Péters <fpeters@0d.be>
Thu, 27 May 2021 15:22:18 +0000 (17:22 +0200)
panikdb/templates/emissions/episode_detail.html

index acf3664e26051afc6e91c462f66ae1ae3710e4ac..97e897d6ed6c04d0bb619fa01c335035d3e35029 100644 (file)
@@ -22,7 +22,7 @@
 <tbody>
 {% for soundfile in soundfiles %}
 <tr>
-<td><a href="{{ soundfile.file.url }}">{{ soundfile|sound_filename }}</a></td>
+<td><a href="{{ soundfile.get_url }}">{{ soundfile|sound_filename }}</a></td>
 <td>{{ soundfile.title }}</td>
 <td>{{ soundfile.duration|as_duration }}</td>
 <td>{% if soundfile.format %}{{ soundfile.format }}{% else %}-{% endif %}</td>