Sha256: 257712d9b1c54788ac2556f9a4d343575764eec78c6858639d46eeaffbebf4d7

Contents?: true

Size: 1.27 KB

Versions: 10

Compression:

Stored size: 1.27 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"><%= decidim_sanitize_admin 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

10 entries across 10 versions & 1 rubygems

Version Path
decidim-accountability-0.29.1 app/views/decidim/accountability/results/home.html.erb
decidim-accountability-0.28.4 app/views/decidim/accountability/results/home.html.erb
decidim-accountability-0.29.0 app/views/decidim/accountability/results/home.html.erb
decidim-accountability-0.28.3 app/views/decidim/accountability/results/home.html.erb
decidim-accountability-0.29.0.rc4 app/views/decidim/accountability/results/home.html.erb
decidim-accountability-0.29.0.rc3 app/views/decidim/accountability/results/home.html.erb
decidim-accountability-0.29.0.rc2 app/views/decidim/accountability/results/home.html.erb
decidim-accountability-0.29.0.rc1 app/views/decidim/accountability/results/home.html.erb
decidim-accountability-0.28.2 app/views/decidim/accountability/results/home.html.erb
decidim-accountability-0.28.1 app/views/decidim/accountability/results/home.html.erb