mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
Display only the name part
`media.filename` is a `str` `media.filepath` is a `Path` The second has a simple way to remove directories, so use that instead of any custom string manipulation.
This commit is contained in:
parent
20527aa3c2
commit
495f62f25a
@ -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.filename }}</strong></td>
|
||||
<td><span class="hide-on-med-and-up">Filename<br></span><strong>{{ media.filepath.name }}</strong></td>
|
||||
</tr>
|
||||
<tr title="The filename the media will be downloaded as">
|
||||
<td class="hide-on-small-only">Directory</td>
|
||||
|
Loading…
Reference in New Issue
Block a user