diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-06-02 22:57:31 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-06-06 19:59:49 +0300 |
commit | 8f0bf297676dac33ecc8ced10da5ae88f36a9ab0 (patch) | |
tree | e619a36d311601be1dafbe19c30feeb5212cea96 /app/views/projects/labels | |
parent | bf0c4426ffb1994b647a4f7e8c74b0fef29645d2 (diff) |
Add unprioritized scope
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 4b2fb04323f..77c42ec356d 100644 --- a/app/views/projects/labels/index.html.haml +++ b/app/views/projects/labels/index.html.haml @@ -14,8 +14,8 @@ .prioritized-labels{ class: hide_class } %h5 Prioritized Label %ul.content-list.manage-labels-list.js-prioritized-labels{ "data-url" => set_sorting_namespace_project_labels_path(@project.namespace, @project) } - - if @prioritized.present? - = render @prioritized + - if @prioritized_labels.present? + = render @prioritized_labels - else %p.empty-message No prioritized labels yet .other-labels |