Reordered notification accordions.

Renamed SMTP to Email.
pull/3113/head
kay.one 13 years ago
parent 318c1ef120
commit 16ea643340

@ -50,7 +50,7 @@ namespace NzbDrone.Web.Models
//SMTP //SMTP
[DisplayName("Enabled")] [DisplayName("Enabled")]
[Description("Enable SMTP notifications?")] [Description("Enable Email notifications?")]
public bool SmtpEnabled { get; set; } public bool SmtpEnabled { get; set; }
[DisplayName("Notify on Grab")] [DisplayName("Notify on Grab")]

@ -34,11 +34,8 @@
<a href="#">XBMC</a></h3> <a href="#">XBMC</a></h3>
@{Html.RenderPartial("Xbmc", Model);} @{Html.RenderPartial("Xbmc", Model);}
<h3> <h3>
<a href="#">SMTP</a></h3> <a href="#">Plex</a></h3>
@{Html.RenderPartial("Smtp", Model);} @{Html.RenderPartial("Plex", Model);}
<h3>
<a href="#">Twitter</a></h3>
@{Html.RenderPartial("Twitter", Model);}
<h3> <h3>
<a href="#">Growl</a></h3> <a href="#">Growl</a></h3>
@{Html.RenderPartial("Growl", Model);} @{Html.RenderPartial("Growl", Model);}
@ -46,8 +43,11 @@
<a href="#">Prowl</a></h3> <a href="#">Prowl</a></h3>
@{Html.RenderPartial("Prowl", Model);} @{Html.RenderPartial("Prowl", Model);}
<h3> <h3>
<a href="#">Plex</a></h3> <a href="#">Email</a></h3>
@{Html.RenderPartial("Plex", Model);} @{Html.RenderPartial("Smtp", Model);}
<h3>
<a href="#">Twitter</a></h3>
@{Html.RenderPartial("Twitter", Model);}
</div> </div>
<button type="submit" class="save_button" disabled="disabled"> <button type="submit" class="save_button" disabled="disabled">

@ -60,5 +60,5 @@
</label> </label>
@Html.TextBoxFor(m => m.SmtpToAddresses, new { @class = "inputClass" }) @Html.TextBoxFor(m => m.SmtpToAddresses, new { @class = "inputClass" })
<input type="button" onclick="testSmtpSettings();" value="Test SMTP" id="smtpTest"/> <input type="button" onclick="testSmtpSettings();" value="Send Test email" id="smtpTest"/>
</div> </div>
Loading…
Cancel
Save