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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
c00917e4
Commit
c00917e4
authored
Jun 25, 2013
by
Jack Weeden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't show 'Filter by labels' text if there are no labels
Don't show project search form if there are no projects
parent
82271e78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
app/views/dashboard/projects.html.haml
app/views/dashboard/projects.html.haml
+15
-13
No files found.
app/views/dashboard/projects.html.haml
View file @
c00917e4
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
=
nav_tab
:scope
,
'joined'
do
=
nav_tab
:scope
,
'joined'
do
=
link_to
"Joined"
,
projects_dashboard_path
(
scope:
'joined'
)
=
link_to
"Joined"
,
projects_dashboard_path
(
scope:
'joined'
)
-
if
@labels
.
any?
%p
.light
Filter by label:
%p
.light
Filter by label:
%ul
.bordered-list
%ul
.bordered-list
-
@labels
.
each
do
|
label
|
-
@labels
.
each
do
|
label
|
...
@@ -30,6 +31,7 @@
...
@@ -30,6 +31,7 @@
.span9
.span9
-
if
@projects
.
any?
=
form_tag
projects_dashboard_path
,
method:
'get'
do
=
form_tag
projects_dashboard_path
,
method:
'get'
do
%fieldset
.dashboard-search-filter
%fieldset
.dashboard-search-filter
=
hidden_field_tag
"scope"
,
params
[
:scope
]
=
hidden_field_tag
"scope"
,
params
[
:scope
]
...
...
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