Sha256: 14383a47bb8e85ad6f3004d5049a44d129a6d0beb2bf13348e7838bbc6aa6be3

Contents?: true

Size: 549 Bytes

Versions: 5

Compression:

Stored size: 549 Bytes

Contents

<table id="activity" class="table table-striped well"> 
  <caption class="accessible-hidden">Activity of users you follow</caption>
  <thead>
    <tr>
      <th>&nbsp;</th>
      <th>User Activity</th>
      <th>Date</th>
    </tr>
  </thead>
  <tbody>
  <% events.each do |event| %>
    <% next if event[:action].blank? or event[:timestamp].blank? %>
    <tr>
      <td>&nbsp;</td>
      <td><%= event[:action].html_safe %></td>
      <td><%= time_ago_in_words(Time.at(event[:timestamp].to_i)) %> ago</td>
    </tr>
  <% end %>
  </tbody>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sufia-3.7.2 app/views/users/_activity_log.html.erb
sufia-3.7.1 app/views/users/_activity_log.html.erb
sufia-3.7.0 app/views/users/_activity_log.html.erb
sufia-3.6.1 app/views/users/_activity_log.html.erb
sufia-3.6.0 app/views/users/_activity_log.html.erb