Reordered UI a bit and code cleanup.

pull/2381/head
Taloth Saldono 7 years ago
parent f32e8beab8
commit 8a6acd999a

@ -31,7 +31,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
return Decision.Accept(); return Decision.Accept();
} }
if (subject.Release.Size == 0) if (size == 0)
{ {
_logger.Debug("Release has unknown size, skipping size check."); _logger.Debug("Release has unknown size, skipping size check.");
return Decision.Accept(); return Decision.Accept();

@ -14,26 +14,26 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">Maximum Size</label> <label class="col-sm-3 control-label">Retention</label>
<div class="col-sm-1 col-sm-push-2 help-inline"> <div class="col-sm-1 col-sm-push-2 help-inline">
<i class="icon-sonarr-form-info" title="Maximum size for a release to be grabbed in MB. Set to zero to set to unlimited"/> <i class="icon-sonarr-form-info" title="Usenet only: Set to zero to set to unlimited"/>
</div> </div>
<div class="col-sm-2 col-sm-pull-1"> <div class="col-sm-2 col-sm-pull-1">
<input type="number" min="0" name="maximumSize" class="form-control"/> <input type="number" min="0" name="retention" class="form-control"/>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">Retention</label> <label class="col-sm-3 control-label">Maximum Size</label>
<div class="col-sm-1 col-sm-push-2 help-inline"> <div class="col-sm-1 col-sm-push-2 help-inline">
<i class="icon-sonarr-form-info" title="Usenet only: Set to zero to set to unlimited"/> <i class="icon-sonarr-form-info" title="Maximum size for a release to be grabbed in MB. Set to zero to set to unlimited"/>
</div> </div>
<div class="col-sm-2 col-sm-pull-1"> <div class="col-sm-2 col-sm-pull-1">
<input type="number" min="0" name="retention" class="form-control"/> <input type="number" min="0" name="maximumSize" class="form-control"/>
</div> </div>
</div> </div>

Loading…
Cancel
Save