Commit 0d9f73fa authored by AlexDenisov's avatar AlexDenisov Committed by Alex Denisov

JavaScript removed from dashboard#index template.

parent f038057b
......@@ -2,6 +2,12 @@
* Init dashboard page
*
*/
$(function(){
Pager.init(20, true);
dashboardPage();
});
function dashboardPage(){
$(".event_filter_link").bind('click',(function(){
enableFilter(this.id);
......
= javascript_include_tag 'dashboard'
- if @has_authorized_projects
.projects
.activities.span8
......@@ -8,5 +7,3 @@
- else
= render "zero_authorized_projects"
:javascript
$(function(){ Pager.init(20, true); });
......@@ -7,6 +7,7 @@ Feature: Event filters
And this project has merge request event
And I visit dashboard page
@javascript
Scenario: I should see all events
Then I should see push event
And I should see new member event
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment