Sha256: 78602af322d878a5834f15ade40d622fd07b0e44ecea85ded5894988233235eb

Contents?: true

Size: 627 Bytes

Versions: 11

Compression:

Stored size: 627 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>
      <td>
        <% time = Time.zone.at(event[:timestamp].to_i) %>
        <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

11 entries across 11 versions & 1 rubygems

Version Path
hyrax-2.1.0.beta1 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.1 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.0 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.0.rc3 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.0.rc2 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.0.rc1 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.0.beta5 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.0.beta4 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.0.beta3 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.0.beta2 app/views/hyrax/users/_activity_log.html.erb
hyrax-2.0.0.beta1 app/views/hyrax/users/_activity_log.html.erb