mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
notification updates
This commit is contained in:
parent
a6cee23591
commit
46486704ab
@ -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>
|
Loading…
Reference in New Issue
Block a user