2019-03-08 20:09:27 +08:00
|
|
|
<% provide :head_title, t('nav.label.activities') %>
|
2019-02-27 23:02:53 +08:00
|
|
|
|
2019-08-08 21:51:08 +08:00
|
|
|
<div class="global-activities-container">
|
2023-05-03 17:31:17 +08:00
|
|
|
<div id="filters" data-filters='<%= @filters.to_json %>' ></div>
|
2019-08-08 21:51:08 +08:00
|
|
|
<div class="ga-top">
|
|
|
|
<%= render partial: "top_pane" %>
|
|
|
|
</div>
|
|
|
|
<div class="ga-bottom">
|
2019-11-25 18:09:37 +08:00
|
|
|
<div class="ga-main">
|
|
|
|
<div class="activities-container perfect-scrollbar">
|
|
|
|
<div class="no-activities-message text-center <%= 'hidden' if @grouped_activities.keys.any? %>">
|
|
|
|
<p><%= t('activities.index.no_activities_message') %></p>
|
|
|
|
</div>
|
|
|
|
<div class="ga-activities-list"
|
|
|
|
data-activities-url="<%= global_activities_path %>"
|
|
|
|
data-starting-timestamp="<%= @starting_timestamp %>">
|
|
|
|
<%= render partial: "activity_list.html.erb" %>
|
|
|
|
</div>
|
|
|
|
<div class="text-center">
|
2023-06-19 21:45:22 +08:00
|
|
|
<a class="btn btn-secondary btn-more-activities <%= 'hidden' unless @next_page %>"
|
2019-11-25 18:09:37 +08:00
|
|
|
data-next-page="<%= @next_page %>">
|
|
|
|
<%= t'activities.index.more_activities' %>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div id="ga-more-activities-placeholder" class="hidden"></div>
|
2019-03-27 16:43:04 +08:00
|
|
|
</div>
|
2019-02-13 23:19:18 +08:00
|
|
|
</div>
|
2019-11-25 18:09:37 +08:00
|
|
|
<div class="ga-side">
|
|
|
|
<div class="filters-container perfect-scrollbar">
|
|
|
|
<%= render partial: "side_filters" %>
|
|
|
|
</div>
|
2019-08-08 21:51:08 +08:00
|
|
|
</div>
|
2019-02-13 23:19:18 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-02-27 23:02:53 +08:00
|
|
|
|
2021-05-31 19:32:31 +08:00
|
|
|
<%= render partial: 'save_filter_modal' %>
|
|
|
|
|
2019-02-27 23:02:53 +08:00
|
|
|
<%= javascript_include_tag 'global_activities/index.js' %>
|