gitlab-org--gitlab-foss/app/views/projects/labels/index.html.haml
Dmitriy Zaporozhets ecbb3ddf21
Correct no-labels message
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-30 19:35:36 +03:00

17 lines
491 B
Text

= render "projects/issues/head"
- if can? current_user, :admin_label, @project
= link_to new_project_label_path(@project), class: "pull-right btn btn-new" do
New label
%h3.page-title
Labels
%hr
- if @labels.present?
%ul.bordered-list.manage-labels-list
= render @labels
= paginate @labels, theme: 'gitlab'
- else
.light-well
.nothing-here-block Create first label or #{link_to 'generate', generate_project_labels_path(@project), method: :post} default set of labels