diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-07-27 18:37:46 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-07-31 12:46:37 +0300 |
commit | 4b1b6acf3f3b83c6db4e9c7d0cbdf24d2fd5fd75 (patch) | |
tree | 11d53c25cd3e24be0fbe1836f08d3487626406bc /app/views/projects/labels | |
parent | 26b2790eef6fe25fb36afaaff16c0396d4097ba2 (diff) |
Add no labels found block for project labels page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/labels')
-rw-r--r-- | app/views/projects/labels/index.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/labels/index.html.haml b/app/views/projects/labels/index.html.haml index 251eda6dbf8..fc5b1d1aea1 100644 --- a/app/views/projects/labels/index.html.haml +++ b/app/views/projects/labels/index.html.haml @@ -45,6 +45,10 @@ .content-list.manage-labels-list.js-other-labels = render partial: 'shared/label', subject: @project, collection: @labels, as: :label = paginate @labels, theme: 'gitlab' + - elsif params[:search].present? + .nothing-here-block + = _('No labels with such name or description') + - else = render 'shared/empty_states/labels' |