Improved activity stream.
This commit is contained in:
parent
dc2214646e
commit
fefb728954
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
<h2 class="can-move"><%- @T( @head ) %></h2>
|
||||
<% for item in @items: %>
|
||||
<div class="activity-entry horizontal">
|
||||
<div class="avatar" style="background-image: url(<%- item.created_by.image %>)"></div>
|
||||
<a href="<%- item.created_by.uiUrl() %>"><div class="avatar" style="background-image: url(<%- item.created_by.image %>)"></div></a>
|
||||
<div class="activity-body flex horizontal">
|
||||
<div class="activity-message flex">
|
||||
<span class="user-popover" data-id="<%= item.created_by_id %>"><%= item.created_by.displayName() %></span> <%- @T( item.type ) %> <a href="<%- item.link %>"><%= item.object_name %><% if item.title: %> (<%= item.title %>)<% end %></a>
|
||||
<a href="<%- item.link %>"><%= item.created_by.displayName() %> <%- @T( item.type ) %> <%- @T( item.object_name ) %><% if item.title: %> (<%= item.title %>)<% end %></a>
|
||||
<div class="activity-time humanTimeFromNow" data-time="<%- item.created_at %>">?</div>
|
||||
</div>
|
||||
<div class="activity-icon">
|
||||
|
|
Loading…
Reference in a new issue