提交 0d9f73fa 编写于 作者: A AlexDenisov 提交者: Alex Denisov

JavaScript removed from dashboard#index template.

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册