Fixed a couple UI issues for FileSharingTalk

pull/6/head
Mark McDowall 13 years ago
parent bd7cddc582
commit 2c42977b40

@ -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,

@ -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();
}); });

Loading…
Cancel
Save