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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a10f917a
Commit
a10f917a
authored
Jul 13, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dashbord sidebar filter
parent
3805797c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/dashboard.js.coffee
app/assets/javascripts/dashboard.js.coffee
+1
-1
app/views/dashboard/_groups.html.haml
app/views/dashboard/_groups.html.haml
+1
-1
app/views/dashboard/_projects.html.haml
app/views/dashboard/_projects.html.haml
+1
-1
No files found.
app/assets/javascripts/dashboard.js.coffee
View file @
a10f917a
...
@@ -15,7 +15,7 @@ class Dashboard
...
@@ -15,7 +15,7 @@ class Dashboard
uiBox
.
find
(
".dash-list li"
).
show
()
uiBox
.
find
(
".dash-list li"
).
show
()
else
else
uiBox
.
find
(
".dash-list li"
).
each
(
index
)
->
uiBox
.
find
(
".dash-list li"
).
each
(
index
)
->
name
=
$
(
this
).
find
(
".
well
-title"
).
text
()
name
=
$
(
this
).
find
(
".
filter
-title"
).
text
()
if
name
.
toLowerCase
().
search
(
terms
.
toLowerCase
())
==
-
1
if
name
.
toLowerCase
().
search
(
terms
.
toLowerCase
())
==
-
1
$
(
this
).
hide
()
$
(
this
).
hide
()
...
...
app/views/dashboard/_groups.html.haml
View file @
a10f917a
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
-
groups
.
each
do
|
group
|
-
groups
.
each
do
|
group
|
%li
.group-row
%li
.group-row
=
link_to
group_path
(
id:
group
.
path
),
class:
dom_class
(
group
)
do
=
link_to
group_path
(
id:
group
.
path
),
class:
dom_class
(
group
)
do
%span
.group-name
%span
.group-name
.filter-title
=
truncate
(
group
.
name
,
length:
35
)
=
truncate
(
group
.
name
,
length:
35
)
%span
.arrow
%span
.arrow
%i
.icon-angle-right
%i
.icon-angle-right
...
...
app/views/dashboard/_projects.html.haml
View file @
a10f917a
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
-
if
project
.
namespace
-
if
project
.
namespace
=
project
.
namespace
.
human_name
=
project
.
namespace
.
human_name
\/
\/
%span
.project-name
%span
.project-name
.filter-title
=
truncate
(
project
.
name
,
length:
25
)
=
truncate
(
project
.
name
,
length:
25
)
%span
.arrow
%span
.arrow
%i
.icon-angle-right
%i
.icon-angle-right
...
...
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