Sha256: 4cd53491043c76855e243081bff55fa077426c6b8625f87f3e51bc7d0a451a81

Contents?: true

Size: 1.97 KB

Versions: 12

Compression:

Stored size: 1.97 KB

Contents

<%= render partial: "decidim/shared/component_announcement" %>
<%= render partial: "exit_modal" %>

<%= cell("decidim/budgets/limit_announcement", budget) %>

<div class="voting-wrapper">
  <div class="row columns">
    <% if component_settings.geocoding_enabled? %>
      <%= dynamic_map_for projects_data_for_map(all_geocoded_projects) do %>
        <template id="marker-popup">
          <div class="map-info__content">
            <h3>${title}</h3>
            <div id="bodyContent">
              <p>{{html body}}</p>
              <div class="map__date-address">
                <div class="address card__extra">
                  <div class="address__icon">{{html icon}}</div>
                  <div class="address__details">
                    <span>${address}</span><br>
                  </div>
                </div>
              </div>
              <div class="map-info__button">
                <a href="${link}" class="button button--sc">
                  <%= t(".view_project") %>
                </a>
              </div>
            </div>
          </div>
        </template>
      <% end %>
    <% end %>
    <% if voting_finished? %>
      <h2 class="heading2">
        <%= t("decidim.budgets.projects.projects_for", name: translated_attribute(budget.title)) %>
      </h2>
    <% else %>
      <%= render partial: "budget_summary", locals: { include_heading: true } %>
    <% end %>
  </div>

  <div class="row columns">
    <h2 class="section-heading">
      <%= render partial: "count" %>
    </h2>
  </div>

  <div class="row">
    <div class="columns mediumlarge-4 large-3">
      <%= render partial: "filters_small_view" %>
      <div class="card card--secondary show-for-mediumlarge">
        <%= render partial: "filters" %>
      </div>
    </div>
    <div id="projects" class="columns mediumlarge-8 large-9" aria-live="polite">
      <%= render partial: "projects" %>
    </div>
  </div>
</div>

<% content_for :js_content do %>
  <%= javascript_pack_tag "decidim_budgets" %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
decidim-budgets-0.27.9 app/views/decidim/budgets/projects/index.html.erb
decidim-budgets-0.27.8 app/views/decidim/budgets/projects/index.html.erb
decidim-budgets-0.27.7 app/views/decidim/budgets/projects/index.html.erb
decidim-budgets-0.27.6 app/views/decidim/budgets/projects/index.html.erb
decidim-budgets-0.27.5 app/views/decidim/budgets/projects/index.html.erb
decidim-budgets-0.27.4 app/views/decidim/budgets/projects/index.html.erb
decidim-budgets-0.27.3 app/views/decidim/budgets/projects/index.html.erb
decidim-budgets-0.27.2 app/views/decidim/budgets/projects/index.html.erb
decidim-budgets-0.27.1 app/views/decidim/budgets/projects/index.html.erb
decidim-budgets-0.27.0 app/views/decidim/budgets/projects/index.html.erb
decidim-budgets-0.27.0.rc2 app/views/decidim/budgets/projects/index.html.erb
decidim-budgets-0.27.0.rc1 app/views/decidim/budgets/projects/index.html.erb