Fixed up DownloadClient settings in UI

pull/4/head
Mark McDowall 12 years ago
parent 07613092b4
commit 5b664afaf8

@ -51,7 +51,7 @@ namespace NzbDrone.Core.History
public virtual QualityModel GetBestQualityInHistory(int episodeId) public virtual QualityModel GetBestQualityInHistory(int episodeId)
{ {
return _historyRepository.GetBestQualityInHistory(episodeId).OrderByDescending(q => q).FirstOrDefault(); return _historyRepository.GetEpisodeHistory(episodeId).OrderByDescending(q => q).FirstOrDefault();
} }
public void Handle(EpisodeGrabbedEvent message) public void Handle(EpisodeGrabbedEvent message)

@ -20,32 +20,12 @@
<label class="control-label">Unsorted TV Directory</label> <label class="control-label">Unsorted TV Directory</label>
<div class="controls"> <div class="controls">
<input type="text" placeholder="C:\Unsorted TV" name="downloadClientDropDirectory" class="x-path"/> <input type="text" placeholder="C:\Unsorted TV" name="downloadClientTvDirectory" class="x-path"/>
<span class="help-inline"> <span class="help-inline">
<i class="icon-question-sign" title="The directory where your download client downloads TV shows to."></i> <i class="icon-question-sign" title="The directory where your download client downloads TV shows to."></i>
</span> </span>
</div> </div>
</div> </div>
<div class="control-group">
<label class="control-label">Use Scene Name</label>
<div class="controls">
<label class="checkbox toggle well">
<input type="checkbox" name="downloadClientUseSceneName"/>
<p>
<span>Yes</span>
<span>No</span>
</p>
<div class="btn btn-primary slide-button"></div>
</label>
<span class="help-inline-checkbox">
<i class="icon-question-sign" title="Use Scene name when adding NZB to queue?"></i>
</span>
</div>
</div>
</fieldset> </fieldset>
<fieldset class="x-sab-config"> <fieldset class="x-sab-config">

Loading…
Cancel
Save