Commit ecbb3ddf authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Correct no-labels message

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 51d2910a
...@@ -14,4 +14,4 @@ ...@@ -14,4 +14,4 @@
- else - else
.light-well .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
...@@ -34,7 +34,11 @@ ...@@ -34,7 +34,11 @@
- if defined?(labels) - if defined?(labels)
%fieldset %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 %ul.nav.nav-pills.nav-stacked.nav-small.labels-filter
- @project.labels.order_by_name.each do |label| - @project.labels.order_by_name.each do |label|
%li{class: label_filter_class(label.name)} %li{class: label_filter_class(label.name)}
...@@ -46,7 +50,8 @@ ...@@ -46,7 +50,8 @@
- if @project.labels.empty? - if @project.labels.empty?
.light-well .light-well
Add first label to your issues Create first label at
= link_to 'labels page', project_labels_path(@project)
%br %br
or #{link_to 'generate', generate_project_labels_path(@project, redirect: redirect), method: :post} default set of labels or #{link_to 'generate', generate_project_labels_path(@project, redirect: redirect), method: :post} default set of labels
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment