Skip to content

Commit 59ba725

Browse files
committed
Show count of apps
1 parent e1b2359 commit 59ba725

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

app/views/entries/index.html.erb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<hgroup class="mb-4 flex items-center justify-between">
2-
<h1 class="font-bold text-4xl flex items-center gap-4">Directory</h1>
2+
<h1 class="font-bold text-4xl flex items-center gap-4">
3+
Directory
4+
<small>(<%= @entries.size %> apps)</small>
5+
</h1>
36
<% if Current.user.present? %>
47
<%= link_to "Add entry", new_entry_path, class: button_classes(type: :primary) %>
58
<% end %>

0 commit comments

Comments
 (0)