Restore empty state, made it filter aware
This commit is contained in:
@@ -10,6 +10,6 @@
|
||||
</div>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<p class="txt-medium translucent">Nothing here</p>
|
||||
<p class="txt-normal translucent"><%= @user_filtering.any? ? "No matches" : "Nothing here" %></p>
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
@@ -20,5 +20,7 @@
|
||||
<%= cards_next_page_link "doing-cards", page: page, filter: filter %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<p class="txt-normal translucent"><%= @user_filtering.any? ? "No matches" : "Nothing here" %></p>
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
@@ -14,5 +14,7 @@
|
||||
<%= cards_next_page_link "on-deck-cards", page: page, filter: filter %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<p class="txt-normal translucent"><%= @user_filtering.any? ? "No matches" : "Nothing here" %></p>
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user