Skip to content

Commit

Permalink
fix history page typo
Browse files Browse the repository at this point in the history
  • Loading branch information
OmgImAlexis committed Mar 21, 2018
1 parent 53b0360 commit 384e8e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions themes-default/slim/views/history.mako
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const startVue = () => {
<% isoDate = datetime.strptime(str(hItem.date), History.date_format).isoformat('T') %>
<time datetime="${isoDate}" class="date">${airDate}</time>
</td>
<td class="tvShow triggerhighlight"><app-link data-indexer-to-name="${hItem.indexer_id}") href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.show_id}#season-${hItem.season}">${hItem.show_name} - ${"S%02i" % int(hItem.season)}${"E%02i" % int(hItem.episode)} ${'<span class="quality Proper">Proper</span>' if hItem.proper_tags else ''} </app-link></td>
<td class="tvShow triggerhighlight"><app-link data-indexer-to-name="${hItem.indexer_id}" href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.show_id}#season-${hItem.season}">${hItem.show_name} - ${"S%02i" % int(hItem.season)}${"E%02i" % int(hItem.episode)} ${'<span class="quality Proper">Proper</span>' if hItem.proper_tags else ''} </app-link></td>
<td class="triggerhighlight"align="center" ${'class="subtitles_column"' if composite.status == SUBTITLED else ''}>
% if composite.status == SUBTITLED:
<img width="16" height="11" style="vertical-align:middle;" src="images/subtitles/flags/${hItem.resource}.png" onError="this.onerror=null;this.src='images/flags/unknown.png';">
Expand Down Expand Up @@ -166,7 +166,7 @@ const startVue = () => {
</td>
<td class="tvShow triggerhighlight">
<% proper_tags = [action.proper_tags for action in hItem.actions if action.proper_tags] %>
<span><app-link data-indexer-to-name="${hItem.index.indexer_id}") href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.index.show_id}#season-${hItem.index.season}">${hItem.show_name} - ${"S%02i" % int(hItem.index.season)}${"E%02i" % int(hItem.index.episode)} ${'<span class="quality Proper">Proper</span>' if proper_tags else ''}</app-link></span>
<span><app-link data-indexer-to-name="${hItem.index.indexer_id}" href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.index.show_id}#season-${hItem.index.season}">${hItem.show_name} - ${"S%02i" % int(hItem.index.season)}${"E%02i" % int(hItem.index.episode)} ${'<span class="quality Proper">Proper</span>' if proper_tags else ''}</app-link></span>
</td>
<td class="triggerhighlight" align="center" provider="${str(sorted(hItem.actions)[0].provider)}">
% for cur_action in sorted(hItem.actions, key=lambda x: x.date):
Expand Down
4 changes: 2 additions & 2 deletions themes/dark/templates/history.mako
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const startVue = () => {
<% isoDate = datetime.strptime(str(hItem.date), History.date_format).isoformat('T') %>
<time datetime="${isoDate}" class="date">${airDate}</time>
</td>
<td class="tvShow triggerhighlight"><app-link data-indexer-to-name="${hItem.indexer_id}") href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.show_id}#season-${hItem.season}">${hItem.show_name} - ${"S%02i" % int(hItem.season)}${"E%02i" % int(hItem.episode)} ${'<span class="quality Proper">Proper</span>' if hItem.proper_tags else ''} </app-link></td>
<td class="tvShow triggerhighlight"><app-link data-indexer-to-name="${hItem.indexer_id}" href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.show_id}#season-${hItem.season}">${hItem.show_name} - ${"S%02i" % int(hItem.season)}${"E%02i" % int(hItem.episode)} ${'<span class="quality Proper">Proper</span>' if hItem.proper_tags else ''} </app-link></td>
<td class="triggerhighlight"align="center" ${'class="subtitles_column"' if composite.status == SUBTITLED else ''}>
% if composite.status == SUBTITLED:
<img width="16" height="11" style="vertical-align:middle;" src="images/subtitles/flags/${hItem.resource}.png" onError="this.onerror=null;this.src='images/flags/unknown.png';">
Expand Down Expand Up @@ -166,7 +166,7 @@ const startVue = () => {
</td>
<td class="tvShow triggerhighlight">
<% proper_tags = [action.proper_tags for action in hItem.actions if action.proper_tags] %>
<span><app-link data-indexer-to-name="${hItem.index.indexer_id}") href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.index.show_id}#season-${hItem.index.season}">${hItem.show_name} - ${"S%02i" % int(hItem.index.season)}${"E%02i" % int(hItem.index.episode)} ${'<span class="quality Proper">Proper</span>' if proper_tags else ''}</app-link></span>
<span><app-link data-indexer-to-name="${hItem.index.indexer_id}" href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.index.show_id}#season-${hItem.index.season}">${hItem.show_name} - ${"S%02i" % int(hItem.index.season)}${"E%02i" % int(hItem.index.episode)} ${'<span class="quality Proper">Proper</span>' if proper_tags else ''}</app-link></span>
</td>
<td class="triggerhighlight" align="center" provider="${str(sorted(hItem.actions)[0].provider)}">
% for cur_action in sorted(hItem.actions, key=lambda x: x.date):
Expand Down
4 changes: 2 additions & 2 deletions themes/light/templates/history.mako
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const startVue = () => {
<% isoDate = datetime.strptime(str(hItem.date), History.date_format).isoformat('T') %>
<time datetime="${isoDate}" class="date">${airDate}</time>
</td>
<td class="tvShow triggerhighlight"><app-link data-indexer-to-name="${hItem.indexer_id}") href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.show_id}#season-${hItem.season}">${hItem.show_name} - ${"S%02i" % int(hItem.season)}${"E%02i" % int(hItem.episode)} ${'<span class="quality Proper">Proper</span>' if hItem.proper_tags else ''} </app-link></td>
<td class="tvShow triggerhighlight"><app-link data-indexer-to-name="${hItem.indexer_id}" href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.show_id}#season-${hItem.season}">${hItem.show_name} - ${"S%02i" % int(hItem.season)}${"E%02i" % int(hItem.episode)} ${'<span class="quality Proper">Proper</span>' if hItem.proper_tags else ''} </app-link></td>
<td class="triggerhighlight"align="center" ${'class="subtitles_column"' if composite.status == SUBTITLED else ''}>
% if composite.status == SUBTITLED:
<img width="16" height="11" style="vertical-align:middle;" src="images/subtitles/flags/${hItem.resource}.png" onError="this.onerror=null;this.src='images/flags/unknown.png';">
Expand Down Expand Up @@ -166,7 +166,7 @@ const startVue = () => {
</td>
<td class="tvShow triggerhighlight">
<% proper_tags = [action.proper_tags for action in hItem.actions if action.proper_tags] %>
<span><app-link data-indexer-to-name="${hItem.index.indexer_id}") href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.index.show_id}#season-${hItem.index.season}">${hItem.show_name} - ${"S%02i" % int(hItem.index.season)}${"E%02i" % int(hItem.index.episode)} ${'<span class="quality Proper">Proper</span>' if proper_tags else ''}</app-link></span>
<span><app-link data-indexer-to-name="${hItem.index.indexer_id}" href="home/displayShow?indexername=indexer-to-name&seriesid=${hItem.index.show_id}#season-${hItem.index.season}">${hItem.show_name} - ${"S%02i" % int(hItem.index.season)}${"E%02i" % int(hItem.index.episode)} ${'<span class="quality Proper">Proper</span>' if proper_tags else ''}</app-link></span>
</td>
<td class="triggerhighlight" align="center" provider="${str(sorted(hItem.actions)[0].provider)}">
% for cur_action in sorted(hItem.actions, key=lambda x: x.date):
Expand Down

0 comments on commit 384e8e2

Please sign in to comment.