diff --git a/app/views/decidim/accountability/results/_timeline.html.erb b/app/views/decidim/accountability/results/_timeline.html.erb new file mode 100644 index 000000000..8f31f24ed --- /dev/null +++ b/app/views/decidim/accountability/results/_timeline.html.erb @@ -0,0 +1,30 @@ +
+
+

<%= t(".title") %>

+
    + <% result.timeline_entries.each_with_index do |timeline_entry, i| %> +
  1. +
    + <%= i + 1 %> +
    +
    +
    + + <%= l timeline_entry.entry_date, format: :decidim_short %> + +

    + <%= translated_attribute timeline_entry.title %> +

    + + <% if translated_attribute(timeline_entry.description).present? %> +
    + <%= decidim_sanitize_admin translated_attribute(timeline_entry.description) %> +
    + <% end %> +
    +
    +
  2. + <% end %> +
+
+