Sha256: b3a322112b660122ae7142d6f7bafc4f2aa7a1123c06b32d1a5dbaa56fe82072
Contents?: true
Size: 1.86 KB
Versions: 39
Compression:
Stored size: 1.86 KB
Contents
<div class="row column authorizations-list"> <% if @authorizations.any? %> <section class="section"> <div class="card card--list"> <% @authorizations.each do |authorization| %> <div class="card--list__item"> <div class="card--list__text"> <%= icon "lock-unlocked", class: "card--list__icon" %> <div> <h5 class="card--list__heading"> <%= t("#{authorization.name}.name", scope: "decidim.authorization_handlers") %> </h5> <span class="text-small"><%= l(authorization.updated_at, format: :long) %></span> </div> </div> <div class="card--list__data"> <%= link_to new_authorization_path(handler: authorization.name), class: "card--list__data__icon" do %> <%= icon "reload" %> <% end %> </div> </div> <% end %> </div> <% end %> <% if handlers.any? %> <div class="card card--list"> <% handlers.each do |handler| %> <div class="card--list__item"> <div class="card--list__text"> <a href="#"> <%= icon "lock-locked", class: "card--list__icon" %> </a> <div> <h5 class="card--list__heading"> <%= link_to t("#{handler.handler_name}.name", scope: "decidim.authorization_handlers"), new_authorization_path(handler: handler.handler_name) %> </h5> </div> </div> <div class="card--list__data"> <%= link_to new_authorization_path(handler: handler.handler_name), class: "card--list__data__icon" do %> <%= icon "chevron-right" %> <% end %> </div> </div> <% end %> </div> </section> <% end %> </div>
Version data entries
39 entries across 39 versions & 2 rubygems