Sha256: 3d65503263a3bec031179ccbe0f5809dce1dc2d8e2598f70090f0288b4401082

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

<% add_decidim_page_title component_name %>
<%= append_javascript_pack_tag "decidim_accountability" %>
<%= append_stylesheet_pack_tag "decidim_accountability" %>

<% content_for :aside do %>
  <h1 class="title-decorator"><%= component_name %></h1>

  <% if component_settings.display_progress_enabled? %>
    <%= cell(
          "decidim/accountability/status",
          nil,
          title: t("decidim.accountability.results.home_header.global_status"),
          progress: progress_calculator(current_scope, nil).presence,
          extra_classes: "accountability__status__home"
        ) %>
  <% end %>

  <%= render partial: "scope_filters" %>
<% end %>

<%= render layout: "layouts/decidim/shared/layout_two_col" do %>

  <section class="layout-main__section">
    <div class="editor-content"><%== translated_attribute component_settings.intro %></div>
  </section>

  <section class="layout-main__section">
    <% if first_class_categories.empty? %>
      <%= cell("decidim/announcement",
               params[:filter].present? ?
               t("empty_filters", scope: "decidim.accountability.results.home") :
               t("empty", scope: "decidim.accountability.results.home")) %>
    <% end %>
    <%= render partial: "home_categories" %>
  </section>

<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-accountability-0.28.0 app/views/decidim/accountability/results/home.html.erb
decidim-accountability-0.28.0.rc5 app/views/decidim/accountability/results/home.html.erb
decidim-accountability-0.28.0.rc4 app/views/decidim/accountability/results/home.html.erb