Sha256: 1bdcce6b796bf405083bfa5f20a2434ee2fb524d576a6babc31d2e02bfcc94b1

Contents?: true

Size: 1.95 KB

Versions: 26

Compression:

Stored size: 1.95 KB

Contents

<% if feature_settings.geocoding_enabled? %>
  <%= dynamic_map_for proposals_data_for_map(geocoded_proposals) do %>
    <template id="marker-popup">
      <div class="map-info__content">
        <h3>${title}</h3>
        <div id="bodyContent">
          <p>{{html body}}</p>
          <div class="map__date-adress">
            <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_proposal') %>
            </a>
          </div>
        </div>
      </div>
    </template>
    <%= stylesheet_link_tag "decidim/map" %>
    <%= javascript_include_tag "decidim/map" %>
  <% end %>
<% end %>
<%= render partial: "votes_limit" %>
<div class="row columns">
  <div class="title-action">
    <h2 id="proposals-count" class="title-action__title section-heading">
      <%= render partial: "count" %>
    </h2>
    <% if current_settings.creation_enabled %>
      <%= action_authorized_link_to :create, new_proposal_path, class: "title-action__action button small hollow" do %>
        <%= t(".new_proposal") %>
        <%= icon "plus" %>
      <% end %>
    <% else %>
      <span class="title-action__action button small hollow disabled">
        <%= t(".new_proposal") %>
        <%= icon "plus" %>
      </span>
    <% end %>
  </div>
</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="proposals" class="columns mediumlarge-8 large-9">
    <%= render partial: "proposals" %>
  </div>
</div>

<%= javascript_include_tag("decidim/filters") %>
<%= javascript_include_tag "decidim/orders" %>

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
decidim-proposals-0.4.4 app/views/decidim/proposals/proposals/index.html.erb
decidim-0.4.4 decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb
decidim-proposals-0.4.3 app/views/decidim/proposals/proposals/index.html.erb
decidim-proposals-0.4.2 app/views/decidim/proposals/proposals/index.html.erb
decidim-proposals-0.4.1 app/views/decidim/proposals/proposals/index.html.erb
decidim-0.4.3 decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb
decidim-0.4.2 decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb
decidim-0.4.1 decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb
decidim-proposals-0.4.0 app/views/decidim/proposals/proposals/index.html.erb
decidim-0.4.0 decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb
decidim-proposals-0.3.2 app/views/decidim/proposals/proposals/index.html.erb
decidim-0.3.2 decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb
decidim-proposals-0.3.1 app/views/decidim/proposals/proposals/index.html.erb
decidim-0.3.1 decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb
decidim-proposals-0.3.0 app/views/decidim/proposals/proposals/index.html.erb
decidim-0.3.0 decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb
decidim-proposals-0.2.0 app/views/decidim/proposals/proposals/index.html.erb
decidim-0.2.0 decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb
decidim-proposals-0.1.0 app/views/decidim/proposals/proposals/index.html.erb
decidim-0.1.0 decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb