Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
0d9f73fa
Commit
0d9f73fa
authored
Jan 09, 2013
by
AlexDenisov
Committed by
Alex Denisov
Jan 09, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JavaScript removed from dashboard#index template.
parent
f038057b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
app/assets/javascripts/dashboard.js
app/assets/javascripts/dashboard.js
+6
-0
app/views/dashboard/index.html.haml
app/views/dashboard/index.html.haml
+0
-3
features/dashboard/event_filters.feature
features/dashboard/event_filters.feature
+1
-0
No files found.
app/assets/javascripts/dashboard.js
View file @
0d9f73fa
...
@@ -2,6 +2,12 @@
...
@@ -2,6 +2,12 @@
* Init dashboard page
* Init dashboard page
*
*
*/
*/
$
(
function
(){
Pager
.
init
(
20
,
true
);
dashboardPage
();
});
function
dashboardPage
(){
function
dashboardPage
(){
$
(
"
.event_filter_link
"
).
bind
(
'
click
'
,(
function
(){
$
(
"
.event_filter_link
"
).
bind
(
'
click
'
,(
function
(){
enableFilter
(
this
.
id
);
enableFilter
(
this
.
id
);
...
...
app/views/dashboard/index.html.haml
View file @
0d9f73fa
=
javascript_include_tag
'dashboard'
-
if
@has_authorized_projects
-
if
@has_authorized_projects
.projects
.projects
.activities.span8
.activities.span8
...
@@ -8,5 +7,3 @@
...
@@ -8,5 +7,3 @@
-
else
-
else
=
render
"zero_authorized_projects"
=
render
"zero_authorized_projects"
:javascript
$
(
function
(){
Pager
.
init
(
20
,
true
);
});
features/dashboard/event_filters.feature
View file @
0d9f73fa
...
@@ -7,6 +7,7 @@ Feature: Event filters
...
@@ -7,6 +7,7 @@ Feature: Event filters
And
this project has merge request event
And
this project has merge request event
And
I visit dashboard page
And
I visit dashboard page
@javascript
Scenario
:
I
should see all events
Scenario
:
I
should see all events
Then
I should see push event
Then
I should see push event
And
I should see new member event
And
I should see new member event
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment