Sha256: 45ecf1ac31128e8a207183644909d8b65aa63406d2110a6a6c7e5335e8a2498f

Contents?: true

Size: 1 KB

Versions: 1

Compression:

Stored size: 1 KB

Contents

<h3><%= t :'.header' %></h3>

<% unless @recent_reindexing.empty? %>
  <table class="table table-striped">
  <thead>
    <tr>
      <th class="col-md-3"><%= t :'.field.date' %></th>
      <th class="col-md-2"><%= t :'.field.user' %></th>
      <th class="col-md-1"><%= t :'.field.items_reindexed_count' %></th>
      <th class="col-md-2"><%= t :'.field.duration' %></th>
      <th class="col-md-2"><%= t :'.field.job_status' %></th>
    </tr>
  </thead>
  <tbody>
    <% @recent_reindexing.each do |log_entry| %>
      <tr>
        <td><%= l log_entry.start_time, format: :short if log_entry.start_time %></td>
        <td><%= log_entry.user.email if log_entry.user %></td>
        <td><%= log_entry.items_reindexed_count %></td>
        <td><%= distance_of_time_in_words log_entry.duration, 0, include_seconds: true if log_entry.duration %></td>
        <td><%= t "reindexing_log.status.#{log_entry.job_status}" %></td>
      </tr>
    <% end %>
  </tbody>
  </table>
<% else %>
  <%= t(:'.no_reindexing_activity') %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight-spotlight-0.32.0 app/views/spotlight/dashboards/_reindexing_activity.html.erb