Fixed UI for long subtitles path. Now use tooltip for full path and show only filename.

pull/585/head
Louis Vézina 5 years ago
parent 8a50f696c7
commit e6feaa0863

@ -79,6 +79,7 @@
</head> </head>
<body> <body>
%import ast %import ast
%from os import path
%from get_languages import * %from get_languages import *
%from config import settings %from config import settings
%from helper import path_replace_movie %from helper import path_replace_movie
@ -180,7 +181,11 @@
end end
%> %>
<tr> <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><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> <td>
%if subtitles_file[1] is not None: %if subtitles_file[1] is not None:

Loading…
Cancel
Save