notification updates

This commit is contained in:
dstrukt 2021-11-12 21:25:24 -08:00 committed by Andrew Camilleri
parent a6cee23591
commit 46486704ab

View File

@ -2,8 +2,9 @@
@model BTCPayServer.Controllers.ManageController.NotificationSettingsViewModel @model BTCPayServer.Controllers.ManageController.NotificationSettingsViewModel
@inject IEnumerable<INotificationHandler> NotificationHandlers @inject IEnumerable<INotificationHandler> NotificationHandlers
@{ @{
ViewData.SetActivePageAndTitle(ManageNavPages.Notifications, "Notification preferences"); ViewData.SetActivePageAndTitle(ManageNavPages.Notifications, "Notification Settings");
} }
<h2 class="mb-4">@ViewData["Title"]</h2>
<form method="post" asp-action="NotificationSettings"> <form method="post" asp-action="NotificationSettings">
@if (Model.All) @if (Model.All)
@ -33,9 +34,9 @@
</ul> </ul>
</div> </div>
</div> </div>
<div> <div class="form-group mt-4">
<button type="submit" class="btn btn-secondary" name="command" value="disable-all">Disable all</button>
<button type="submit" class="btn btn-primary" name="command" value="update">Save</button> <button type="submit" class="btn btn-primary" name="command" value="update">Save</button>
<button type="submit" class="btn btn-secondary ms-3" name="command" value="disable-all">Disable all</button>
</div> </div>
} }
</form> </form>