2016-01-13 09:58:04 -05:00
|
|
|
.nav-block.activity-filter-block
|
2015-07-13 12:24:15 -04:00
|
|
|
- if current_user
|
2016-01-13 09:58:04 -05:00
|
|
|
.controls
|
2015-10-13 08:38:38 -04:00
|
|
|
= link_to namespace_project_path(@project.namespace, @project, format: :atom, private_token: current_user.private_token), title: "Feed", class: 'btn rss-btn' do
|
|
|
|
%i.fa.fa-rss
|
2015-07-13 12:24:15 -04:00
|
|
|
|
|
|
|
= render 'shared/event_filter'
|
2016-07-04 09:19:07 -04:00
|
|
|
|
|
|
|
.content_list.project-activity{:"data-href" => activity_project_path(@project)}
|
2015-07-13 12:24:15 -04:00
|
|
|
= spinner
|
|
|
|
|
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()
|
|
|
|
})
|