2016-09-10 00:06:20 +00:00
|
|
|
- @no_container = true
|
2015-07-13 16:24:15 +00:00
|
|
|
|
2016-09-10 00:06:20 +00:00
|
|
|
%div{ class: container_class }
|
|
|
|
.nav-block.activity-filter-block
|
2017-02-28 20:50:57 +00:00
|
|
|
.controls
|
|
|
|
= link_to namespace_project_path(@project.namespace, @project, rss_url_options), title: "Subscribe", class: 'btn rss-btn has-tooltip' do
|
|
|
|
= icon('rss')
|
2016-09-10 00:06:20 +00:00
|
|
|
|
|
|
|
= render 'shared/event_filter'
|
|
|
|
|
2016-12-26 10:47:16 +00:00
|
|
|
.content_list.project-activity{ :"data-href" => activity_project_path(@project) }
|
2016-09-10 00:06:20 +00:00
|
|
|
= spinner
|
2015-07-13 16:24:15 +00:00
|
|
|
|
2015-11-10 11:17:37 +00:00
|
|
|
:javascript
|
2016-11-20 05:52:53 +00:00
|
|
|
var activity = new gl.Activities();
|
2016-04-20 16:47:07 +00:00
|
|
|
$(document).on('page:restore', function (event) {
|
|
|
|
activity.reloadActivities()
|
|
|
|
})
|