Sha256: 84732f24d391f1a22bf36cadada2f71481e16d1a6929e9bd0c74d5bfc60e9769
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
<h3><%= t :'.header' %></h3> <% unless @recent_reindexing.empty? %> <table class="table table-striped"> <thead> <tr class="d-flex"> <th class="col-3"><%= t :'.field.date' %></th> <th class="col-3"><%= t :'.field.user' %></th> <th class="col-1"><%= t :'.field.items_reindexed_count' %></th> <th class="col-3"><%= t :'.field.duration' %></th> <th class="col-2"><%= t :'.field.job_status' %></th> </tr> </thead> <tbody> <% @recent_reindexing.each do |log_entry| %> <tr class="d-flex"> <td class="col-3"><%= l log_entry.start_time, format: :short if log_entry.start_time %></td> <td class="col-3"><%= log_entry.user.email if log_entry.user %></td> <td class="col-1"><%= log_entry.items_reindexed_count %></td> <td class="col-3"><%= distance_of_time_in_words log_entry.duration, 0, include_seconds: true if log_entry.duration %></td> <td class="col-2"><%= t "reindexing_log.status.#{log_entry.job_status}" %></td> </tr> <% end %> </tbody> </table> <% else %> <p><%= t(:'.no_reindexing_activity') %></p> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-3.0.0.alpha.1 | app/views/spotlight/dashboards/_reindexing_activity.html.erb |