Display card number in notifications and events
This commit is contained in:
@@ -24,6 +24,6 @@
|
||||
|
||||
<%= yield %>
|
||||
|
||||
<span class="event__collection"><%= event.collection.name %></span>
|
||||
<span class="event__collection"><span><%= card.id %></span> · <%= event.collection.name %></span>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
<div class="overflow-ellipsis txt-small txt-tight-lines">
|
||||
<%= event_notification_body(event) %>
|
||||
</div>
|
||||
<div class="tray__item-meta overflow-ellipsis translucent"><%= notification.source.collection.name %> · <%= local_datetime_tag(notification.created_at, style: :ago) %></div>
|
||||
<div class="tray__item-meta overflow-ellipsis translucent"><%= event.eventable.id %> · <%= notification.source.collection.name %> · <%= local_datetime_tag(notification.created_at, style: :ago) %></div>
|
||||
|
||||
Reference in New Issue
Block a user