mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fixes issue with search page from PR 713
This commit is contained in:
parent
a9f15f9629
commit
b140354b6d
@ -314,57 +314,56 @@
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<%
|
||||
if config['nzbget_priority'] == -100:
|
||||
prio_verylow = 'selected="selected"'
|
||||
prio_low = ''
|
||||
prio_normal = ''
|
||||
prio_high = ''
|
||||
prio_veryhigh = ''
|
||||
prio_force = ''
|
||||
elif config['nzbget_priority'] == -50:
|
||||
prio_verylow = ''
|
||||
prio_low = 'selected="selected"'
|
||||
prio_normal = ''
|
||||
prio_high = ''
|
||||
prio_veryhigh = ''
|
||||
prio_force = ''
|
||||
elif config['nzbget_priority'] == 0:
|
||||
prio_verylow = ''
|
||||
prio_low = ''
|
||||
prio_normal = 'selected="selected"'
|
||||
prio_high = ''
|
||||
prio_veryhigh = ''
|
||||
prio_force = ''
|
||||
elif config['nzbget_priority'] == 50:
|
||||
prio_verylow = ''
|
||||
prio_low = ''
|
||||
prio_normal = ''
|
||||
prio_high = 'selected="selected"'
|
||||
prio_veryhigh = ''
|
||||
prio_force = ''
|
||||
elif config['nzbget_priority'] == 100:
|
||||
prio_verylow = ''
|
||||
prio_low = ''
|
||||
prio_normal = ''
|
||||
prio_high = ''
|
||||
prio_veryhigh = 'selected="selected"'
|
||||
prio_force = ''
|
||||
elif config['nzbget_priority'] == 900:
|
||||
prio_verylow = ''
|
||||
prio_low = ''
|
||||
prio_normal = ''
|
||||
prio_high = ''
|
||||
prio_veryhigh = ''
|
||||
prio_force = 'selected="selected"'
|
||||
else:
|
||||
prio_verylow = ''
|
||||
prio_low = ''
|
||||
prio_normal = 'selected="selected"'
|
||||
prio_high = ''
|
||||
prio_veryhigh = ''
|
||||
prio_force = ''
|
||||
%>
|
||||
#if $sickbeard.NZBGET_PRIORITY == -100:
|
||||
#set $prio_verylow = 'selected="selected"'
|
||||
#set $prio_low = ''
|
||||
#set $prio_normal = ''
|
||||
#set $prio_high = ''
|
||||
#set $prio_veryhigh = ''
|
||||
#set $prio_force = ''
|
||||
#elif $sickbeard.NZBGET_PRIORITY == -50:
|
||||
#set $prio_verylow = ''
|
||||
#set $prio_low = 'selected="selected"'
|
||||
#set $prio_normal = ''
|
||||
#set $prio_high = ''
|
||||
#set $prio_veryhigh = ''
|
||||
#set $prio_force = ''
|
||||
#elif $sickbeard.NZBGET_PRIORITY == 0:
|
||||
#set $prio_verylow = ''
|
||||
#set $prio_low = ''
|
||||
#set $prio_normal = 'selected="selected"'
|
||||
#set $prio_high = ''
|
||||
#set $prio_veryhigh = ''
|
||||
#set $prio_force = ''
|
||||
#elif $sickbeard.NZBGET_PRIORITY == 50:
|
||||
#set $prio_verylow = ''
|
||||
#set $prio_low = ''
|
||||
#set $prio_normal = ''
|
||||
#set $prio_high = 'selected="selected"'
|
||||
#set $prio_veryhigh = ''
|
||||
#set $prio_force = ''
|
||||
#elif $sickbeard.NZBGET_PRIORITY == 100:
|
||||
#set $prio_verylow = ''
|
||||
#set $prio_low = ''
|
||||
#set $prio_normal = ''
|
||||
#set $prio_high = ''
|
||||
#set $prio_veryhigh = 'selected="selected"'
|
||||
#set $prio_force = ''
|
||||
#elif $sickbeard.NZBGET_PRIORITY == 900:
|
||||
#set $prio_verylow = ''
|
||||
#set $prio_low = ''
|
||||
#set $prio_normal = ''
|
||||
#set $prio_high = ''
|
||||
#set $prio_veryhigh = ''
|
||||
#set $prio_force = 'selected="selected"'
|
||||
#else:
|
||||
#set $prio_verylow = ''
|
||||
#set $prio_low = ''
|
||||
#set $prio_normal = 'selected="selected"'
|
||||
#set $prio_high = ''
|
||||
#set $prio_veryhigh = ''
|
||||
#set $prio_force = ''
|
||||
#end if
|
||||
|
||||
<div class="field-pair">
|
||||
<label class="nocheck clearfix">
|
||||
|
Loading…
Reference in New Issue
Block a user