Merge pull request #575 from UnhealthyKraken/patch-23

Update wantedseries.tpl
pull/578/head
morpheus65535 5 years ago committed by GitHub
commit abca3436c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,7 +48,7 @@
<th>Series</th> <th>Series</th>
<th>Episode</th> <th>Episode</th>
<th>Episode Title</th> <th>Episode Title</th>
<th>Missing subtitles</th> <th>Missing Subtitle(s)</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -56,7 +56,7 @@
%import pretty %import pretty
%if rows.count() == 0: %if rows.count() == 0:
<tr> <tr>
<td colspan="4">No missing episode subtitles.</td> <td colspan="4">No Missing Subtitles.</td>
</tr> </tr>
%end %end
%for row in rows: %for row in rows:
@ -90,7 +90,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-episodePath="{{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-sonarrSeriesId={{row.sonarr_series_id.sonarr_series_id}} data-sonarrEpisodeId={{row.sonarr_episode_id}} data-title="{{row.seriesTitle.replace("'", "\'")}}" class="get_subtitle ui tiny label"> <a data-tooltip="Automatic Searching Delayed (Adaptive Search)" data-position="top right" data-inverted="" data-episodePath="{{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-sonarrSeriesId={{row.sonarr_series_id.sonarr_series_id}} data-sonarrEpisodeId={{row.sonarr_episode_id}} data-title="{{row.seriesTitle.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>
@ -141,7 +141,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
@ -187,7 +187,7 @@
sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId"), sonarrEpisodeId: $(this).attr("data-sonarrEpisodeId"),
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", url: "{{base_url}}get_subtitle",
@ -198,4 +198,4 @@
window.location.reload(); window.location.reload();
}); });
}) })
</script> </script>

Loading…
Cancel
Save