Update wantedmovies.tpl

pull/574/head
Kraken 5 years ago committed by GitHub
parent 9ed30f2015
commit 3ab150a520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,7 +46,7 @@
<thead> <thead>
<tr> <tr>
<th>Movies</th> <th>Movies</th>
<th>Missing subtitles</th> <th>Missing Subtitle(s)</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -54,7 +54,7 @@
%import pretty %import pretty
%if len(rows) == 0: %if len(rows) == 0:
<tr> <tr>
<td colspan="2">No missing movie subtitles.</td> <td colspan="2">No Missing Subtitles.</td>
</tr> </tr>
%end %end
%for row in rows: %for row in rows:
@ -83,7 +83,7 @@
<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>
%else: %else:
<a data-tooltip="Automatic searching delayed (adaptive search)" data-position="top right" data-inverted="" data-moviePath="{{row.path}}" data-sceneName="{{row.scene_name}}" data-language="{{alpha3_from_alpha2(str(language.split(':')[0]))}}" data-hi="{{row.hearing_impaired}}" data-forced="{{forced}}" data-radarrId={{row.radarr_id}} data-title="{{row.title.replace("'", "\'")}}" class="get_subtitle ui tiny label"> <a data-tooltip="Automatic Searching Delayed (Adaptive Search)" data-position="top right" data-inverted="" data-moviePath="{{row.path}}" data-sceneName="{{row.scene_name}}" data-language="{{alpha3_from_alpha2(str(language.split(':')[0]))}}" data-hi="{{row.hearing_impaired}}" data-forced="{{forced}}" data-radarrId={{row.radarr_id}} data-title="{{row.title.replace("'", "\'")}}" class="get_subtitle ui tiny label">
{{language}} {{language}}
<i style="margin-left:3px; margin-right:0" class="search red icon"></i> <i style="margin-left:3px; margin-right:0" class="search red icon"></i>
</a> </a>
@ -134,7 +134,7 @@
%end %end
fast forward icon"></i> fast forward icon"></i>
</div> </div>
<div class="right floated right aligned column">Total records: {{missing_count}}</div> <div class="right floated right aligned column">Total Records: {{missing_count}}</div>
</div> </div>
</div> </div>
%end %end
@ -179,7 +179,7 @@
radarrId: $(this).attr("data-radarrId"), radarrId: $(this).attr("data-radarrId"),
title: $(this).attr("data-title") title: $(this).attr("data-title")
}; };
$('#loader_text').text("Downloading subtitles..."); $('#loader_text').text("Downloading Subtitles...");
$('#loader').addClass('active'); $('#loader').addClass('active');
$.ajax({ $.ajax({
url: "{{base_url}}get_subtitle_movie", url: "{{base_url}}get_subtitle_movie",
@ -190,4 +190,4 @@
window.location.reload(); window.location.reload();
}); });
}) })
</script> </script>

Loading…
Cancel
Save