Skip to content

Commit 5bb449c

Browse files
committed
added relative time to full inbox notifications
1 parent 91f3c4d commit 5bb449c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/views/notifications/_notification.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
src="<%= logo_path %>"
2020
alt="<% notification.community_name %> logo" />
2121
<% end %>
22-
<%= notification.community_name %> &middot; <span title="<%= notification.created_at.iso8601 %>">
22+
<%= notification.community_name %> &middot; <span data-relstamp="<%= notification.created_at.iso8601 %>"
23+
title="<%= notification.created_at.iso8601 %>">
2324
<%= notification.created_at.utc %>
2425
</span>
2526
</div>

0 commit comments

Comments
 (0)