gitlab-org--gitlab-foss/app/views/projects/_activity.html.haml

20 lines
589 B
Text
Raw Normal View History

2016-09-09 20:06:20 -04:00
- @no_container = true
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
= 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
:javascript
var activity = new Activities();
$(document).on('page:restore', function (event) {
activity.reloadActivities()
})