Display the entries and sub-titles count

This commit is contained in:
Alex Ling
2020-12-29 04:33:55 +00:00
parent ce88acb9e5
commit 45a81ad5f6
3 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -76,7 +76,7 @@
<% end %>
<% if item.is_a? Title %>
<% if grouped_count == 1 %>
<p class="uk-text-meta"><%= item.size %> entries</p>
<p class="uk-text-meta"><%= item.content_label %></p>
<% else %>
<p class="uk-text-meta"><%= grouped_count %> new entries</p>
<% end %>