Sha256: 55bad7b3b9d8c69f19f43ce9b1497d127aae7cac9e61c4631c34e2fdf0e26321

Contents?: true

Size: 666 Bytes

Versions: 6

Compression:

Stored size: 666 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><%= sanitize event[:action] %></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

6 entries across 6 versions & 1 rubygems

Version Path
hyrax-2.3.3 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.3.2 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.3.1 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.3.0 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.3 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.2.4 app/views/hyrax/users/_activity_log.html.erb