Sha256: 07636ba40888b0f0c3f00b0b1c031b43c6236a5695773feb85cf302558e87a6b

Contents?: true

Size: 1.82 KB

Versions: 39

Compression:

Stored size: 1.82 KB

Contents

<header class="row">
  <div class="col-sm-5">
    <h3>
    <%= t('Changelog Entries') %>
    </h3>
  </div>
  <form action="<%= root_path %>changelogs" class="form form-inline" method="get">
    <%= csrf_tag %>
    <input name="filter" class="form-control" type="text" value="<%= @filter %>" />
    <button class="btn btn-default" type="submit">
    <%= t('Filter') %>
    </button>
  </form>
  <% if @changelogs.any? && @total_size > @count.to_i %>
  <div class="col-sm-4">
    <%= erb unique_template(:_paging), locals: { url: "#{root_path}changelogs" } %>
  </div>
  <% end %>
</header>
<% if @changelogs.any? %>
<div class="table_container">
  <form action="<%= root_path %>changelogs/delete_all" method="get">
    <input class="btn btn-danger btn-xs" type="submit" name="delete_all" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSure') %>" />
  </form>
  <br/>
  <table class="table table-striped table-bordered table-hover">
    <thead>
      <tr>
        <th><%= t('Time') %></th>
        <th><%= t('Digest') %></th>
        <th><%= t('Script') %></th>
        <th><%= t('JID') %></th>
        <th><%= t('Prev JID') %></th>
        <th><%= t('Message') %></th>
      </tr>
    </thead>
    <tbody>
    <% @changelogs.each do |changelog| %>
      <tr  class="changelog-row">
        <td><%= safe_relative_time(changelog["time"]) %></td>
        <td><%= changelog["digest"] %></td>
        <td><%= changelog["script"] %></td>
        <td><%= changelog["job_id"] %></td>
        <td><%= changelog["prev_jid"] %></td>
        <td><%= changelog["message"] %></th>
      </tr>
    <% end %>
    </tbody>
  </table>
  <form action="<%= root_path %>changelogs/delete_all" method="get">
    <input class="btn btn-danger btn-xs" type="submit" name="delete_all" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSure') %>" />
  </form>
</div>
<% end %>

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-7.1.33 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.32 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.31 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.30 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.29 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.28 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.27 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.26 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.25 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.24 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.23 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.22 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.21 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.20 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.19 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.18 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.17 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.16 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.15 lib/sidekiq_unique_jobs/web/views/changelogs.erb
sidekiq-unique-jobs-7.1.14 lib/sidekiq_unique_jobs/web/views/changelogs.erb