diff options
-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 |