mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-05 07:04:21 +01:00
63 lines
2.1 KiB
Plaintext
63 lines
2.1 KiB
Plaintext
@model BTCPayServer.Models.NotificationViewModels.IndexViewModel
|
|
@{
|
|
ViewData["Title"] = "Notifications";
|
|
}
|
|
@section HeadScripts {
|
|
<script src="~/modal/btcpay.js" asp-append-version="true"></script>
|
|
}
|
|
<section>
|
|
<div class="container">
|
|
@if (TempData.HasStatusMessage())
|
|
{
|
|
<div class="row">
|
|
<div class="col-lg-12 text-center">
|
|
<partial name="_StatusMessage" />
|
|
</div>
|
|
</div>
|
|
}
|
|
<div class="row">
|
|
<div class="col-lg-12 section-heading">
|
|
<h2>Notices</h2>
|
|
<hr class="primary">
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<table class="table table-sm table-responsive-md">
|
|
<thead>
|
|
<tr>
|
|
<th width="160px">Date</th>
|
|
<th>Message</th>
|
|
<th width="70px"> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model.Items)
|
|
{
|
|
<tr>
|
|
<td>@item.Created.ToBrowserDate()</td>
|
|
<td>@item.Body</td>
|
|
<td>
|
|
@if (!String.IsNullOrEmpty(item.ActionLink))
|
|
{
|
|
<a href="@item.ActionLink">Action</a>
|
|
}
|
|
else
|
|
{
|
|
<span> </span>
|
|
}
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
|
|
<nav aria-label="...">
|
|
<ul class="pagination">
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|