diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-30 19:35:36 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-30 19:35:36 +0300 |
commit | ecbb3ddf212dd274bbba201b3297219fe2070db5 (patch) | |
tree | a46ee26e6e0575c722e07cf30c827bdfe54b2233 | |
parent | 51d2910a7455f685a6981d02ab880c01bd44028b (diff) | |
download | gitlab-ce-ecbb3ddf212dd274bbba201b3297219fe2070db5.tar.gz |
Correct no-labels message
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | app/views/projects/labels/index.html.haml | 2 | ||||
-rw-r--r-- | app/views/shared/_project_filter.html.haml | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/app/views/projects/labels/index.html.haml b/app/views/projects/labels/index.html.haml index c52ee43c8b5..075779a9c88 100644 --- a/app/views/projects/labels/index.html.haml +++ b/app/views/projects/labels/index.html.haml @@ -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 diff --git a/app/views/shared/_project_filter.html.haml b/app/views/shared/_project_filter.html.haml index 4e989eca1a4..5e7d1c2c885 100644 --- a/app/views/shared/_project_filter.html.haml +++ b/app/views/shared/_project_filter.html.haml @@ -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 |