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
Tatuya Kamada
gitlab-ce
Commits
ecbb3ddf
Commit
ecbb3ddf
authored
Jul 30, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct no-labels message
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
51d2910a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/projects/labels/index.html.haml
app/views/projects/labels/index.html.haml
+1
-1
app/views/shared/_project_filter.html.haml
app/views/shared/_project_filter.html.haml
+7
-2
No files found.
app/views/projects/labels/index.html.haml
View file @
ecbb3ddf
...
...
@@ -14,4 +14,4 @@
-
else
.light-well
.nothing-here-block
Add first label to your issues
or
#{
link_to
'generate'
,
generate_project_labels_path
(
@project
),
method: :post
}
default set of labels
.nothing-here-block
Create first label
or
#{
link_to
'generate'
,
generate_project_labels_path
(
@project
),
method: :post
}
default set of labels
app/views/shared/_project_filter.html.haml
View file @
ecbb3ddf
...
...
@@ -34,7 +34,11 @@
-
if
defined?
(
labels
)
%fieldset
%legend
Labels
%legend
Labels
%small
.pull-right
=
link_to
project_labels_path
(
@project
),
class:
'light'
do
%i
.icon-edit
%ul
.nav.nav-pills.nav-stacked.nav-small.labels-filter
-
@project
.
labels
.
order_by_name
.
each
do
|
label
|
%li
{
class:
label_filter_class
(
label
.
name
)}
...
...
@@ -46,7 +50,8 @@
-
if
@project
.
labels
.
empty?
.light-well
Add first label to your issues
Create first label at
=
link_to
'labels page'
,
project_labels_path
(
@project
)
%br
or
#{
link_to
'generate'
,
generate_project_labels_path
(
@project
,
redirect:
redirect
),
method: :post
}
default set of labels
...
...
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