Sha256: 8387429afd91bc8d15fb023f7ce980d016512c546ae9f69a915d4b66b2e0f7a4

Contents?: true

Size: 1.36 KB

Versions: 15

Compression:

Stored size: 1.36 KB

Contents

<% add_decidim_meta_tags(title: t("assemblies.index.title", scope: "decidim")) %>

<%
edit_link(
  decidim_admin_assemblies.assemblies_path,
  :read,
  :assembly_list
)
%>

<%= participatory_space_wrapper do %>
  <% if promoted_assemblies.any? %>
    <section id="highlighted-assemblies" class="row section">
      <h1 class="section-heading"><%= t("assemblies.index.promoted_assemblies", scope: "layouts.decidim") %></h1>
      <%= render partial: "promoted_assembly", collection: promoted_assemblies, as: :promoted_assembly %>
    </section>
  <% end %>

  <%= render partial: "parent_assemblies" %>

  <% if current_assemblies_settings.enable_organization_chart %>
    <section id="assemblies-chart" class="row column section">
      <div class="row column">
        <h3 class="section-heading"><%= t("assemblies.index.organizational_chart", scope: "layouts.decidim") %></h3>
        <div id="orgchart-<%= SecureRandom.hex(5) %>" class="card orgchart js-orgchart absolutes" data-url="<%= decidim_assemblies.assemblies_path(format: :json) %>">
          <button class="medium-1 m-s top left button small hollow invisible js-reset-orgchart"><%= t("assemblies.index.reset_chart", scope: "layouts.decidim") %></button>
        </div>
      </div>
    </section>
  <% end %>
<% end %>
<%= javascript_include_tag "decidim/filters" %>
<%= javascript_include_tag "decidim/assemblies/orgchart" %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
decidim-assemblies-0.24.3 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.23.6 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.24.2 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.23.5 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.24.1 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.24.0 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.24.0.rc2 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.23.4 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.24.0.rc1 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.23.3 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.23.2 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.23.1 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.23.1.rc1 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.23.0 app/views/decidim/assemblies/assemblies/index.html.erb
decidim-assemblies-0.22.0 app/views/decidim/assemblies/assemblies/index.html.erb