2016-01-19 16:12:03 +05:30
|
|
|
.nav-block.activity-filter-block
|
2015-09-11 14:41:01 +05:30
|
|
|
- if current_user
|
2016-01-19 16:12:03 +05:30
|
|
|
.controls
|
2015-10-24 18:46:33 +05:30
|
|
|
= 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-09-11 14:41:01 +05:30
|
|
|
|
|
|
|
= render 'shared/event_filter'
|
|
|
|
.content_list{:"data-href" => activity_project_path(@project)}
|
|
|
|
= spinner
|
|
|
|
|
2015-11-26 14:37:03 +05:30
|
|
|
:javascript
|
2016-06-02 11:05:42 +05:30
|
|
|
var activity = new Activities();
|
|
|
|
$(document).on('page:restore', function (event) {
|
|
|
|
activity.reloadActivities()
|
|
|
|
})
|