Sha256: 4f1d6eb0f333b2522730d3640e0ef4b66c1521edf8d821ce44983b0d0ea492a1

Contents?: true

Size: 946 Bytes

Versions: 7

Compression:

Stored size: 946 Bytes

Contents

<% if has_link_to_resource? %>
  <div class="card__footer">
    <div class="card__support">
      <% if has_actions? %>
        <% if !current_settings.votes_hidden? %>
          <%= cell(
            "decidim/progress_bar",
            progress_bar_progress,
            total: progress_bar_total,
            units_name: "decidim.proposals.proposals.votes_count.count",
            element_id: "proposal-#{model.id}-votes-count",
            subtitle_text: progress_bar_subtitle_text,
            small: true
          ) %>
        <% end %>
        <%= render partial: "decidim/proposals/proposals/vote_button.html", locals: { proposal: model, from_proposals_list: true } %>
      <% else %>
        <div class="card__support__data"></div>
        <%= link_to t("decidim.proposals.proposals.proposal.view_proposal"), resource_path, class: "card__button button--sc light button small secondary" %>
      <% end %>
    </div>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-proposals-0.15.2 app/cells/decidim/proposals/proposal_m/footer.erb
decidim-proposals-0.15.1 app/cells/decidim/proposals/proposal_m/footer.erb
decidim-proposals-0.15.0 app/cells/decidim/proposals/proposal_m/footer.erb
decidim-proposals-0.14.4 app/cells/decidim/proposals/proposal_m/footer.erb
decidim-proposals-0.14.3 app/cells/decidim/proposals/proposal_m/footer.erb
decidim-proposals-0.14.2 app/cells/decidim/proposals/proposal_m/footer.erb
decidim-proposals-0.14.1 app/cells/decidim/proposals/proposal_m/footer.erb