1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 17:17:12 +00:00
This commit is contained in:
morpheus65535 2019-01-27 21:35:44 -05:00
parent a5858c3328
commit 968fad4193
2 changed files with 8 additions and 8 deletions

View file

@ -86,7 +86,7 @@
%end %end
%end %end
%else: %else:
<a data-moviePath="{{row[3]}}" data-sceneName="{{row[5]}}" data-language="{{alpha3_from_alpha2(str(language))}}" data-hi="{{row[4]}}" data-radarrId={{row[2]}} class="get_subtitle ui tiny label"> <a data-moviePath="{{row[3]}}" data-sceneName="{{row[5]}}" data-language="{{alpha3_from_alpha2(str(language))}}" data-hi="{{row[4]}}" data-radarrId="{{row[2]}}" data-title="{{row[0].replace("'", "\'")}}" class="get_subtitle ui tiny label">
{{language}} {{language}}
<i style="margin-left:3px; margin-right:0" class="search icon"></i> <i style="margin-left:3px; margin-right:0" class="search icon"></i>
</a> </a>
@ -119,12 +119,12 @@
backward icon"></i> backward icon"></i>
{{page}} / {{max_page}} {{page}} / {{max_page}}
<i class="\\ <i class="\\
%if int(page) == int(max_page): %if int(page) >= int(max_page):
disabled\\ disabled\\
%end %end
forward icon"></i> forward icon"></i>
<i class="\\ <i class="\\
%if int(page) == int(max_page): %if int(page) >= int(max_page):
disabled\\ disabled\\
%end %end
fast forward icon"></i> fast forward icon"></i>
@ -168,7 +168,7 @@
language: $(this).attr("data-language"), language: $(this).attr("data-language"),
hi: $(this).attr("data-hi"), hi: $(this).attr("data-hi"),
radarrId: $(this).attr("data-radarrId"), radarrId: $(this).attr("data-radarrId"),
title: '{{!row[0].replace("'", "\\'")}}' title: $(this).attr("data-title")
}; };
$('#loader_text').text("Downloading subtitles..."); $('#loader_text').text("Downloading subtitles...");
$('#loader').addClass('active'); $('#loader').addClass('active');

View file

@ -93,7 +93,7 @@
%end %end
%end %end
%else: %else:
<a data-episodePath="{{row[5]}}" data-sceneName="{{row[8]}}" data-language="{{alpha3_from_alpha2(str(language))}}" data-hi="{{row[6]}}" data-sonarrSeriesId={{row[4]}} data-sonarrEpisodeId={{row[7]}} class="get_subtitle ui tiny label"> <a data-episodePath="{{row[5]}}" data-sceneName="{{row[8]}}" data-language="{{alpha3_from_alpha2(str(language))}}" data-hi="{{row[6]}}" data-sonarrSeriesId={{row[4]}} data-sonarrEpisodeId={{row[7]}} data-title="{{row[0].replace("'", "\'")}}" class="get_subtitle ui tiny label">
{{language}} {{language}}
<i style="margin-left:3px; margin-right:0" class="search icon"></i> <i style="margin-left:3px; margin-right:0" class="search icon"></i>
</a> </a>
@ -126,12 +126,12 @@
backward icon"></i> backward icon"></i>
{{page}} / {{max_page}} {{page}} / {{max_page}}
<i class="\\ <i class="\\
%if int(page) == int(max_page): %if int(page) >= int(max_page):
disabled\\ disabled\\
%end %end
forward icon"></i> forward icon"></i>
<i class="\\ <i class="\\
%if int(page) == int(max_page): %if int(page) >= int(max_page):
disabled\\ disabled\\
%end %end
fast forward icon"></i> fast forward icon"></i>
@ -176,7 +176,7 @@
hi: $(this).attr("data-hi"), hi: $(this).attr("data-hi"),
sonarrSeriesId: $(this).attr("data-sonarrSeriesId"), sonarrSeriesId: $(this).attr("data-sonarrSeriesId"),
sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId"), sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId"),
title: '{{!row[0].replace("'", "\\'")}}' title: $(this).attr("data-title")
}; };
$('#loader_text').text("Downloading subtitles..."); $('#loader_text').text("Downloading subtitles...");
$('#loader').addClass('active'); $('#loader').addClass('active');