diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-04-18 20:48:19 +0300 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-04-18 20:48:19 +0300 |
commit | b14dcfd1d617d9cf9524b3bd1694739cd8a28c61 (patch) | |
tree | 4815ebc275d88bd366bb9f4acede9da719f9c5e0 /app/views/projects/labels | |
parent | d8dd75ca775f66fd756e43ddd73ac75d39fc3e64 (diff) |
Use cards for label list
Diffstat (limited to 'app/views/projects/labels')
-rw-r--r-- | app/views/projects/labels/index.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/labels/index.html.haml b/app/views/projects/labels/index.html.haml index 9c78bade254..5456ddd9a8f 100644 --- a/app/views/projects/labels/index.html.haml +++ b/app/views/projects/labels/index.html.haml @@ -17,12 +17,12 @@ = link_to new_project_label_path(@project), class: "btn btn-new" do New label - .labels + .labels-container.prepend-top-5 - if can_admin_label -# Only show it in the first page - hide = @available_labels.empty? || (params[:page].present? && params[:page] != '1') .prioritized-labels{ class: ('hide' if hide) } - %h5 Prioritized Labels + %h5.prepend-top-0 Prioritized Labels %ul.content-list.manage-labels-list.js-prioritized-labels{ "data-url" => set_priorities_project_labels_path(@project) } #js-priority-labels-empty-state{ class: "#{'hidden' unless @prioritized_labels.empty?}" } = render 'shared/empty_states/priority_labels' |