Fixed a couple UI issues for FileSharingTalk

This commit is contained in:
Mark McDowall 2012-04-14 00:46:42 -07:00
parent bd7cddc582
commit 2c42977b40
2 changed files with 5 additions and 2 deletions

View File

@ -73,6 +73,9 @@ namespace NzbDrone.Web.Controllers
NewzbinUsername = _configProvider.NewzbinUsername, NewzbinUsername = _configProvider.NewzbinUsername,
NewzbinPassword = _configProvider.NewzbinPassword, NewzbinPassword = _configProvider.NewzbinPassword,
FileSharingTalkUid = _configProvider.FileSharingTalkUid,
FileSharingTalkSecret = _configProvider.FileSharingTalkSecret,
NzbsOrgEnabled = _indexerProvider.GetSettings(typeof(NzbsOrg)).Enable, NzbsOrgEnabled = _indexerProvider.GetSettings(typeof(NzbsOrg)).Enable,
NzbMatrixEnabled = _indexerProvider.GetSettings(typeof(NzbMatrix)).Enable, NzbMatrixEnabled = _indexerProvider.GetSettings(typeof(NzbMatrix)).Enable,
NzbsRUsEnabled = _indexerProvider.GetSettings(typeof(NzbsRUs)).Enable, NzbsRUsEnabled = _indexerProvider.GetSettings(typeof(NzbsRUs)).Enable,

View File

@ -155,7 +155,7 @@
<span class="small">@Html.DescriptionFor(m => m.FileSharingTalkSecret)</span> <span class="small">@Html.DescriptionFor(m => m.FileSharingTalkSecret)</span>
<span class="small">@Html.ValidationMessageFor(m => m.FileSharingTalkSecret)</span> <span class="small">@Html.ValidationMessageFor(m => m.FileSharingTalkSecret)</span>
</label> </label>
@Html.TextBoxFor(m => m.FileSharingTalkSecret, new { @class = "inputClass", type = "password" }) @Html.TextBoxFor(m => m.FileSharingTalkSecret, new { @class = "inputClass" })
</div> </div>
</div> </div>
@ -254,7 +254,7 @@
$('#WomblesEnabled').prop('checked', checked); $('#WomblesEnabled').prop('checked', checked);
if (id == 'fileSharingTalkStatus') if (id == 'fileSharingTalkStatus')
$('#FileSharingTalk').prop('checked', checked); $('#FileSharingTalkEnabled').prop('checked', checked);
reValidate(); reValidate();
}); });