diff --git a/app/views/list/list.erb b/app/views/list/list.erb index 3ae00bdc45d..7e7088bac7a 100644 --- a/app/views/list/list.erb +++ b/app/views/list/list.erb @@ -38,28 +38,52 @@ <% end %> <% end %> -
- - <% @list.topics.each_with_index do |t,i| %> -
- - - - <%= t.title %> - - <%= page_links(t) %> - <% if (!@category || @category.has_children?) && t.category %> - [<%= t.category.name %>] - <% end %> - '>(<%= t.posts_count %>) +
+ - <% if t.pinned_until && (t.pinned_until > Time.zone.now) && (t.pinned_globally || @list.category) && t.excerpt %> -

- <%= t.excerpt.html_safe %> -

+ + + + + + + + + + + <% @list.topics.each_with_index do |t,i| %> + + + + + + + + + + <% end %> - - <% end %> + + +
<%= t 'js.topic.title' %><%= t 'js.replies' %><%= t 'js.created' %>
+ + <%= t.title %> + + <% if (!@category || @category.has_children?) && t.category %> + + <% end %> + <% if t.pinned_until && (t.pinned_until > Time.zone.now) && (t.pinned_globally || @list.category) && t.excerpt %> +

+ <%= t.excerpt.html_safe %> +

+ <% end %> +
+ '><%= t.posts_count %> + + <%= I18n.l(t.created_at, format: :date_only) %> +
<% if @list.topics.length > 0 && @list.more_topics_url %>