Use filename_path

It's more directly what we want here.

If `filepath` ever changed to not use `filename` the value would be incorrect, so this is the cleaner way to display this value.
This commit is contained in:
tcely 2024-12-25 01:17:04 -05:00 committed by GitHub
parent d1c6236b9d
commit 8def84c7b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@
{% if media.downloaded %}
<tr title="The filename the media will be downloaded as">
<td class="hide-on-small-only">Filename</td>
<td><span class="hide-on-med-and-up">Filename<br></span><strong>{{ media.filepath.name }}</strong></td>
<td><span class="hide-on-med-and-up">Filename<br></span><strong>{{ filename_path.name }}</strong></td>
</tr>
<tr title="The directory the media will be downloaded to">
<td class="hide-on-small-only">Directory</td>