<%= t("notifications.notification.action.#{notification.notifiable_action}", count: notification.counter) %> <%= notification.notifiable_title %>
<%= l notification.timestamp, format: :datetime %>
<% end %> <% else %><%= t("notifications.notification.notifiable_hidden") %>
<% end %> <% if notification.unread? %> <%= link_to t("notifications.notification.mark_as_read"), mark_as_read_notification_path(notification), method: :put, remote: true, class: "mark-notification small" %> <% else %> <%= link_to t("notifications.notification.mark_as_unread"), mark_as_unread_notification_path(notification), method: :put, remote: true, class: "mark-notification small" %> <% end %>