Files
fizzy/app/views/notifications/notification/_header.html.erb
T
Jorge Manrubia eea9afb639 Fix: dismiss grouped notifications by card from the notifications tray
This also splits the templates into two: index and tray, since the URL now changes.
2025-11-14 12:58:24 +01:00

24 lines
810 B
Plaintext

<header class="card__header">
<div class="card__board">
<span class="card__id">
<span class="for-screen-reader">Card number</span>
<%= notification.card.id %>
</span>
<span class="card__board-name">
<span class="overflow-ellipsis"><%= notification.card.board.name %></span>
</span>
</div>
<div class="card__notification-meta overflow-ellipsis flex-item-grow flex-item-no-shrink txt-align-end">
<span class="card__creator"><%= notification.creator.familiar_name %></span>
</div>
<div class="card__notification-meta overflow-ellipsis flex-item-no-shrink">
<span class="card__timestamp"><%= local_datetime_tag(notification.created_at, style: :timeordate) %></span>
</div>
<div class="card__notification-meta flex-item-no-shrink">
<%= yield %>
</div>
</header>