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
|
|
|
|
- if current_user
|
|
|
|
.controls
|
|
|
|
= link_to namespace_project_path(@project.namespace, @project, format: :atom, private_token: current_user.private_token), title: "Feed", class: 'btn rss-btn' do
|
2016-09-09 20:17:19 -04:00
|
|
|
= icon('rss')
|
2016-09-09 20:06:20 -04:00
|
|
|
|
|
|
|
= render 'shared/event_filter'
|
|
|
|
|
|
|
|
.content_list.project-activity{:"data-href" => activity_project_path(@project)}
|
|
|
|
= spinner
|
2015-07-13 12:24:15 -04:00
|
|
|
|
2015-11-10 06:17:37 -05:00
|
|
|
:javascript
|
2016-04-20 12:47:07 -04:00
|
|
|
var activity = new Activities();
|
|
|
|
$(document).on('page:restore', function (event) {
|
|
|
|
activity.reloadActivities()
|
|
|
|
})
|