Sha256: bc363997198012f583c9817432c3fb0716c16664d94d557fbc9e93977b649e00

Contents?: true

Size: 850 Bytes

Versions: 24

Compression:

Stored size: 850 Bytes

Contents

<div class="budget-list__data <%= data_class %>">
  <% if voting_finished? %>
    <div class="budget-list__data__votes">
      <%= cell("decidim/budgets/project_votes_count", model) %>

      <%= cell("decidim/budgets/project_voted_hint", model, class: "display-block margin-top-1") %>
    </div>
  <% else %>
    <span class="budget-list__data__number budget-list__number show-for-medium">
      <%= budget_to_currency(model.budget_amount) %>

      <%= cell("decidim/budgets/project_votes_count", model, layout: :one_line, class: "display-inline-block") %>

      <%= cell("decidim/budgets/project_voted_hint", model, class: "display-block margin-top-1") if current_order_checked_out? && resource_added? %>
    </span>

    <%= cell("decidim/budgets/project_vote_button", model) if !current_order_checked_out? && voting_open? %>
  <% end %>
</div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
decidim-budgets-0.26.1 app/cells/decidim/budgets/project_list_item/project_data.erb
decidim-budgets-0.26.0 app/cells/decidim/budgets/project_list_item/project_data.erb
decidim-budgets-0.26.0.rc2 app/cells/decidim/budgets/project_list_item/project_data.erb
decidim-budgets-0.26.0.rc1 app/cells/decidim/budgets/project_list_item/project_data.erb