Sha256: 45a4f9b226bd92efb8984d5c41a3b3ac501a83769b339e1d20f2cca76f9ba345
Contents?: true
Size: 1.82 KB
Versions: 6
Compression:
Stored size: 1.82 KB
Contents
<h2><%= I18n.t("terms_app.user_portability_requests.index.title") %></h2> <% if @user_portability_requests.any? %> <div class="table-responsive"> <table class="table table-striped table-sm"> <thead> <tr> <th><%= I18n.t("terms_app.user_portability_requests.index.table.state") %></th> <th><%= I18n.t("terms_app.user_portability_requests.index.table.file") %></th> <th><%= I18n.t("terms_app.user_portability_requests.index.table.created_at") %></th> <!--<th>Expire at</th>--> <th></th> </tr> </thead> <tbody> <% @user_portability_requests.each do |portability_request| %> <tr> <td><%= I18n.t("terms_app.user_portability_requests.index.states.#{portability_request.state}") %></td> <% if portability_request.completed? %> <td><%= link_to I18n.t("terms_app.misc.download"), portability_request.attachment.expiring_url(60) %></td> <% else %> <td></td> <% end %> <td><%= portability_request.created_at %></td> <!--<td><%= portability_request.expire_at %></td>--> <td><%= link_to I18n.t("terms_app.user_portability_requests.index.table.destroy"), user_portability_request_url(portability_request.id), method: :delete, data: { confirm: I18n.t("terms_app.misc.are_you_sure") } %></td> </tr> <% end %> </tbody> </table> </div> <%= will_paginate @user_portability_requests, :style => 'letter-spacing: 5px' %> <br/> <% else %> <p><%= I18n.t("terms_app.user_portability_requests.index.empty") %></p> <% end %> <%= link_to I18n.t("terms_app.user_portability_requests.index.button"), user_portability_requests_path, class: "btn btn-success", method: :post, data: { confirm: I18n.t("terms_app.misc.are_you_sure") } %>
Version data entries
6 entries across 6 versions & 1 rubygems