app/views/decidim/proposals/proposals/_proposals.html.erb in decidim-proposals-0.21.0 vs app/views/decidim/proposals/proposals/_proposals.html.erb in decidim-proposals-0.22.0
- old
+ new
@@ -9,6 +9,20 @@
</div>
<div class="row small-up-1 medium-up-2 card-grid">
<%= render @proposals %>
</div>
+
+<div class="row">
+ <div class="columns mediumlarge-8 large-9">
+ <% if @proposals.empty? %>
+ <div class="callout secondary">
+ <% if params[:filter].present? %>
+ <p><%= t(".empty_filters") %></p>
+ <% else %>
+ <p><%= t(".empty") %></p>
+ <% end %>
+ </div>
+ <% end %>
+ </div>
+</div>
<%= decidim_paginate @proposals %>