Sha256: cd7f9fef55b224fb1ee4065584bd9c3a636ca98f9947ca1543a8f30b2bdf8e13

Contents?: true

Size: 1.26 KB

Versions: 3

Compression:

Stored size: 1.26 KB

Contents

<% add_decidim_page_title(t("authorization_workflows", scope: "decidim.admin.titles")) %>

<div class="item_show__header">
  <h2 class="item_show__header-title">
    <%= t("authorization_workflows", scope: "decidim.admin.titles") %>
  </h2>
</div>

<div class="card">
  <%= cell("decidim/verifications/revocations", @authorizations) %>
  <div class="card-divider">
    <h2 class="card-title">
      <%= t("decidim.admin.titles.authorization_workflows") %>
    </h2>
  </div>
  <div class="card-section">
    <table class="table-list table-list--lastleft">
      <thead>
        <tr>
          <th><%= t("decidim.authorization_handlers.name") %></th>
          <th><%= t("decidim.authorization_handlers.help") %></th>
        </tr>
      </thead>
      <tbody>
        <% @workflows.each do |manifest| %>
          <tr>
            <% workflow = Decidim::Verifications::Adapter.new(manifest) %>
            <td><%= link_to workflow.fullname, workflow.admin_root_path %></td>
            <td>
              <ul>
                <% t("decidim.authorization_handlers.admin.#{workflow.key}.help").each do |tip| %>
                  <li><%= tip %></li>
                <% end %>
              </ul>
            </td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-admin-0.28.0 app/views/decidim/admin/authorization_workflows/index.html.erb
decidim-admin-0.28.0.rc5 app/views/decidim/admin/authorization_workflows/index.html.erb
decidim-admin-0.28.0.rc4 app/views/decidim/admin/authorization_workflows/index.html.erb