Sha256: f3ac0ef42f5a5eea55d1e1a7c0480263150d8d403c0182b1989c388b6d9e2dc6
Contents?: true
Size: 1.74 KB
Versions: 4
Compression:
Stored size: 1.74 KB
Contents
<div class="card"> <div class="card-divider"> <h2 class="card-title"> <%= t(".title") %> <%= link_to t(".granted_authorizations"), granted_authorizations_path, class: "button tiny button--title" %> </h2> </div> <div class="card-section"> <table class="table-list"> <thead> <tr> <th><%= t(".name") %></th> <th><%= t(".nickname") %></th> <th></th> </tr> </thead> <tbody> <% @pending_authorizations.each do |authorization| %> <tr> <td> <%= authorization.user.name %> </td> <td> <%= authorization.user.nickname %> </td> <td class="table-list__actions"> <%= icon_link_to "person", decidim.profile_path(authorization.user.nickname), t("layouts.decidim.user_profile.account"), class:"action-icon--show", target: "_blank" %> <%= icon_link_to "circle-check", pending_authorization_path(authorization.id), t(".approve_request"), method: :patch, class: "action-icon--verify" %> <%= icon_link_to "circle-x", pending_authorization_path(authorization.id), t(".reject_request"), method: :delete, class: "action-icon--reject" %> </td> </tr> <% end %> </tbody> </table> <%= paginate @pending_authorizations, theme: "decidim" %> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems