Sha256: 7fc24e73554730670142d1c271932fd44ea8da892ab43426b83fac161f512891

Contents?: true

Size: 667 Bytes

Versions: 9

Compression:

Stored size: 667 Bytes

Contents

<table id="activity" class="table table-striped table-bordered">
  <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>
      <% time = Time.zone.at(event[:timestamp].to_i) %>
      <td data-sort="<%= time.getutc.iso8601(5) %>">
        <relative-time datetime="<%= time.getutc.iso8601 %>" title="<%= time.to_formatted_s(:standard) %>">
          <%= time.to_formatted_s(:long_ordinal) %>
        </relative-time>
      </td>
    </tr>
  <% end %>
  </tbody>
</table>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hyrax-2.2.1 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.2.0 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.1.0 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.1.0.rc4 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.1.0.rc3 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.1.0.rc2 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.1.0.rc1 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.1.0.beta2 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.2 app/views/hyrax/users/_activity_log.html.erb