debian-mirror-gitlab/app/views/projects/_activity.html.haml
2016-06-02 11:05:42 +05:30

15 lines
499 B
Text

.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
%i.fa.fa-rss
= render 'shared/event_filter'
.content_list{:"data-href" => activity_project_path(@project)}
= spinner
:javascript
var activity = new Activities();
$(document).on('page:restore', function (event) {
activity.reloadActivities()
})