mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-24 22:57:13 -04:00
Fixed UI for long subtitles path. Now use tooltip for full path and show only filename.
This commit is contained in:
parent
8a50f696c7
commit
e6feaa0863
1 changed files with 6 additions and 1 deletions
|
@ -79,6 +79,7 @@
|
|||
</head>
|
||||
<body>
|
||||
%import ast
|
||||
%from os import path
|
||||
%from get_languages import *
|
||||
%from config import settings
|
||||
%from helper import path_replace_movie
|
||||
|
@ -180,7 +181,11 @@
|
|||
end
|
||||
%>
|
||||
<tr>
|
||||
<td>{{path_replace_movie(subtitles_file[1]) if subtitles_file[1] is not None else 'Video File Subtitles Track'}}</td>
|
||||
%if subtitles_file[1] is not None:
|
||||
<td><span data-tooltip="Path is: {{path_replace_movie(subtitles_file[1])}}" data-inverted='' data-position="top left">{{path.basename(path_replace_movie(subtitles_file[1]))}}</span></td>
|
||||
%else:
|
||||
<td>Video File Subtitles Track</td>
|
||||
%end
|
||||
<td><div class="ui tiny inverted label" style='background-color: #777777;'>{{language_from_alpha2(subtitles_file[0].split(':')[0])}}{{' forced' if forced else ''}}</div></td>
|
||||
<td>
|
||||
%if subtitles_file[1] is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue