app/views/decidim/accountability/results/_results_leaf.html.erb in decidim-accountability-0.26.10 vs app/views/decidim/accountability/results/_results_leaf.html.erb in decidim-accountability-0.27.0.rc1
- old
+ new
@@ -17,16 +17,16 @@
</h4>
<div class="text-small card--meta">
<% if result.start_date %>
<strong><%= t("models.result.fields.start_date", scope: "decidim.accountability") %></strong>
- <span><%= l result.start_date, format: :decidim_short %></span>
+ <span><%= result.start_date %></span>
<% end %>
<% if result.end_date %>
<strong><%= t("models.result.fields.end_date", scope: "decidim.accountability") %></strong>
- <span><%= l result.end_date, format: :decidim_short %></span>
+ <span><%= result.end_date %></span>
<% end %>
<% if result.status %>
<strong><%= t("models.result.fields.status", scope: "decidim.accountability") %></strong>
<span><%= translated_attribute(result.status.name) %></span>
@@ -40,8 +40,8 @@
</div>
<% end %>
</div>
<% end %>
</div>
- <%= decidim_paginate results, order_start_time: params[:order_start_time], scope_id: params[:scope_id] %>
+ <%= decidim_paginate results, order_start_time: params[:order_start_time], with_scope: params.dig(:filter, :with_scope) %>
</div>
</div>