8ea2d7346b
It will add to the first selected collection, or to the first one in the menu if no collection selected
21 lines
620 B
Plaintext
21 lines
620 B
Plaintext
<% @page_title = "Home" %>
|
|
<% @header_class = "header--events" %>
|
|
|
|
<%= turbo_stream_from :activity_summaries %>
|
|
|
|
<% content_for :header do %>
|
|
<%= render "filters/menu", user_filtering: @user_filtering %>
|
|
<%= render "events/index/add_card_button", user_filtering: @user_filtering %>
|
|
|
|
<h1 class="header__title overflow-ellipsis">
|
|
<div class="overflow-ellipsis">
|
|
Activity in <%= @user_filtering.selected_collections_label %>
|
|
</div>
|
|
</h1>
|
|
<% end %>
|
|
|
|
<div class="events" id="activity">
|
|
<%= render "events/day", day_timeline: @day_timeline %>
|
|
</div>
|
|
<%= event_next_page_link(@day_timeline.next_day) %>
|