mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
* Move TagHelpers to Abstractions Makes them available for use in plugins. Also cleans up the tag helper references in the view code: As we have it in the root view imports, the individual directives in the views are superfluous. * Move CurrenciesSuggestionsTagHelper back To get rid of the Rating dependency in Abstractions.
21 lines
883 B
Text
21 lines
883 B
Text
@using BTCPayServer.Abstractions.Extensions
|
|
@model BTCPayServer.Components.Notifications.NotificationsViewModel
|
|
|
|
<div id="NotificationsList">
|
|
@foreach (var n in Model.Last5)
|
|
{
|
|
<a asp-action="NotificationPassThrough" asp-controller="UINotifications" asp-route-id="@n.Id" class="notification d-flex align-items-center dropdown-item border-bottom border-light py-3 px-4">
|
|
<div class="me-3">
|
|
<vc:icon symbol="note" />
|
|
</div>
|
|
<div class="notification-item__content">
|
|
<div class="text-start text-wrap">
|
|
@n.Body
|
|
</div>
|
|
<div class="text-start d-flex">
|
|
<small class="text-muted" data-timeago-unixms="@n.Created.ToUnixTimeMilliseconds()">@n.Created.ToTimeAgo()</small>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
}
|
|
</div>
|