Sha256: 1b77f0a967e73367eb6adb96df0cd13296671d22f5de1ede9574ffbf2bcf0e4e

Contents?: true

Size: 1.01 KB

Versions: 49

Compression:

Stored size: 1.01 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 %>
  <p><%= t(:'.no_reindexing_activity') %></p>
<% end %>

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
blacklight-spotlight-2.13.0 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.12.1 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.12.0 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.11.0 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.10.0 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.9.0 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.8.0 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.7.2 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.7.1 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.7.0 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.6.1.1 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.6.1 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.6.0 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.5.2 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.5.1 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.5.0 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.4.1 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.4.0 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.3.3 app/views/spotlight/dashboards/_reindexing_activity.html.erb
blacklight-spotlight-2.3.2 app/views/spotlight/dashboards/_reindexing_activity.html.erb