Sha256: 975fe4ff97b48052869e9fe861ce96f083b097f53412f0f3456a4ecb474f8336

Contents?: true

Size: 509 Bytes

Versions: 8

Compression:

Stored size: 509 Bytes

Contents

<table id="activity" class="table table-striped table-bordered">
  <caption class="sr-only">Activity of users you follow</caption>
  <thead>
    <tr>
      <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><%= event[:action].html_safe %></td>
      <td><%= time_ago_in_words(Time.zone.at(event[:timestamp].to_i)) %> ago</td>
    </tr>
  <% end %>
  </tbody>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sufia-7.1.0 app/views/users/_activity_log.html.erb
sufia-7.0.0 app/views/users/_activity_log.html.erb
sufia-7.0.0.rc2 app/views/users/_activity_log.html.erb
sufia-7.0.0.rc1 app/views/users/_activity_log.html.erb
sufia-7.0.0.beta4 app/views/users/_activity_log.html.erb
sufia-7.0.0.beta3 app/views/users/_activity_log.html.erb
sufia-7.0.0.beta2 app/views/users/_activity_log.html.erb
sufia-7.0.0.beta1 app/views/users/_activity_log.html.erb