Private GIT

Skip to content
Snippets Groups Projects
Commit c2884dfb authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Tweak the UI a bit for status management

parent 72f275f3
No related branches found
No related tags found
No related merge requests found
......@@ -194,7 +194,7 @@ table.tablesorter thead tr .headerSortDown { background-image: url("$sbRoot/imag
<ul>
<li><a href="$sbRoot/manage/backlogOverview"><img src="$sbRoot/images/menu/backlog16.png" alt="" width="16" height="16" />Backlog Overview</a></li>
<li><a href="$sbRoot/manage/manageSearches"><img src="$sbRoot/images/menu/managesearches16.png" alt="" width="16" height="16" />Manage Searches</a></li>
<li><a href="$sbRoot/manage/episodeStatuses"><img src="$sbRoot/images/menu/backlog16.png" alt="" width="16" height="16" />Manage Episode Statuses</a></li>
<li><a href="$sbRoot/manage/episodeStatuses"><img src="$sbRoot/images/menu/backlog16.png" alt="" width="16" height="16" />Episode Status Management</a></li>
</ul>
</li>
<li id="NAVconfig"><a href="$sbRoot/config">Config</a>
......
......@@ -9,10 +9,15 @@
#import os.path
#include $os.path.join($sickbeard.PROG_DIR, "data/interfaces/default/inc_top.tmpl")
#if not $whichStatus:
#if not $whichStatus or ($whichStatus and not $ep_counts):
#if $whichStatus:
<h2>None of your episodes have status $common.statusStrings[$int($whichStatus)]</h2>
<br />
#end if
<form action="$sbRoot/manage/episodeStatuses" method="GET">
Manage all episodes with status <select name="whichStatus">
View all episodes with status <select name="whichStatus">
#for $curStatus in [$common.SKIPPED, $common.SNATCHED, $common.WANTED, $common.ARCHIVED, $common.IGNORED]:
<option value="$curStatus">$common.statusStrings[$curStatus]</option>
#end for
......@@ -26,7 +31,9 @@ Manage all episodes with status <select name="whichStatus">
<form action="$sbRoot/manage/changeEpisodeStatuses" method="POST">
<input type="hidden" id="oldStatus" name="oldStatus" value="$whichStatus">
<h2>Shows containing $common.statusStrings[$int($whichStatus)] episodes</h2>
<br/ >
#if $whichStatus in ($common.ARCHIVED, $common.IGNORED, $common.SNATCHED):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment