Sha256: 7610bd1be6611329eebaae5384b251ae9cc80a9a3703d1388c1992bce09ce438

Contents?: true

Size: 409 Bytes

Versions: 13

Compression:

Stored size: 409 Bytes

Contents

<% if highlighted.any? %>
  <% reordered_highlighted_budgets.each do |budget| %>
    <%= cell("decidim/budgets/budget_list_item", budget) %>
  <% end %>
<% end %>

<% non_highlighted = reorder(budgets).where.not(id: (highlighted + voted).map(&:id)) %>

<% if non_highlighted.exists? %>
  <% non_highlighted.each do |budget| %>
    <%= cell("decidim/budgets/budget_list_item", budget) %>
  <% end %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-budgets-0.29.1 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.28.4 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.29.0 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.28.3 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.29.0.rc4 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.29.0.rc3 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.29.0.rc2 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.29.0.rc1 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.28.2 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.28.1 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.28.0 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.28.0.rc5 app/cells/decidim/budgets/budgets_list/card_list.erb
decidim-budgets-0.28.0.rc4 app/cells/decidim/budgets/budgets_list/card_list.erb