2016-09-09 20:06:20 -04:00
|
|
|
- @no_container = true
|
2015-07-13 12:24:15 -04:00
|
|
|
|
2016-09-09 20:06:20 -04:00
|
|
|
%div{ class: container_class }
|
|
|
|
.nav-block.activity-filter-block
|
2017-02-28 15:50:57 -05: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-09 20:06:20 -04:00
|
|
|
|
|
|
|
= render 'shared/event_filter'
|
|
|
|
|
2016-12-26 05:47:16 -05:00
|
|
|
.content_list.project-activity{ :"data-href" => activity_project_path(@project) }
|
2016-09-09 20:06:20 -04:00
|
|
|
= spinner
|
2015-07-13 12:24:15 -04:00
|
|
|
|
2015-11-10 06:17:37 -05:00
|
|
|
:javascript
|
2016-11-20 00:52:53 -05:00
|
|
|
var activity = new gl.Activities();
|
2016-04-20 12:47:07 -04:00
|
|
|
$(document).on('page:restore', function (event) {
|
|
|
|
activity.reloadActivities()
|
|
|
|
})
|