1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fixed cannot find 'capitalize' while searching for 'capitalize' error.

Fixed unexpected branchVersion error.
This commit is contained in:
echel0n 2014-07-30 12:30:35 -07:00
parent 7d4e7f04a4
commit 7b187c3add

View File

@ -280,9 +280,9 @@
<label class="nocheck clearfix">
<span class="component-title">Branch Version:</span>
<span class="component-desc">
<select id="branchVersion" name="branchVersion">
<select id="branchVersion">
#for $cur_branch in $sickbeard.versionCheckScheduler.action.list_remote_branches():
<option value="$cur_branch" #if $cur_branch == $sickbeard.BRANCH then "selected=\"selected\"" else ""#>$cur_branch.capitalize()</option>
<option value="$cur_branch" #if $cur_branch == $sickbeard.BRANCH then "selected=\"selected\"" else ""#>$cur_branch</option>
#end for
</select>
<input class="btn" class="btn" type="button" id="branchCheckout" value="Checkout Branch">
@ -300,7 +300,7 @@
<span class="component-desc">
<select id="cpu_presets" name="cpu_preset">
#for $cur_preset in $cpu_presets:
<option value="$cur_preset" #if $cur_preset == $sickbeard.CPU_PRESET then "selected=\"selected\"" else ""#>$cur_preset.capitalize()</option>
<option value="$cur_preset" #if $cur_preset == $sickbeard.CPU_PRESET then "selected=\"selected\"" else ""#>$cur_preset</option>
#end for
</select>
</span>