Sha256: e2ebbb1375feae7ac8cab5eb883443a829558e569e06efe00caec1e430fbc7ed
Contents?: true
Size: 1.74 KB
Versions: 6
Compression:
Stored size: 1.74 KB
Contents
<h2><%= I18n.t("terms_app.portability_requests.index.title") %></h2> <% if @portability_requests.size == 0 %> <p><%= I18n.t("terms_app.portability_requests.index.empty") %></p> <% else %> <%= chart ->{PolicyManager::PortabilityRequest.group_by_day(:created_at).count} %> <div class="table-responsive"> <table class="table table-striped table-sm"> <thead> <tr> <th><%= I18n.t("terms_app.portability_requests.index.table.user") %></th> <th><%= I18n.t("terms_app.portability_requests.index.table.state") %></th> <th><%= I18n.t("terms_app.portability_requests.index.table.created_at") %></th> <!--<th>Expire at</th>--> <th colspan="2"></th> </tr> </thead> <tbody> <% @portability_requests.each do |portability_request| %> <tr> <td><%= portability_request.user.email %></td> <td><%= I18n.t("terms_app.portability_requests.index.states.#{portability_request.state}") %></td> <td><%= portability_request.created_at %></td> <!--<td><%= portability_request.expire_at %></td>--> <td> <%= link_to I18n.t("terms_app.portability_requests.index.table.confirm"), confirm_portability_request_path(portability_request), data: { confirm: I18n.t("terms_app.misc.are_you_sure") } if portability_request.pending? %> </td> <td><%= link_to I18n.t("terms_app.portability_requests.index.table.destroy"), portability_request, method: :delete, data: { confirm: I18n.t("terms_app.misc.are_you_sure") } %></td> </tr> <% end %> </tbody> </table> <%= will_paginate @portability_requests, :style => 'letter-spacing: 5px' %> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems