Commit 4b1b6acf authored by Dmytro Zaporozhets's avatar Dmytro Zaporozhets

Add no labels found block for project labels page

Signed-off-by: Dmytro Zaporozhets's avatarDmitriy Zaporozhets <[email protected]>
parent 26b2790e
......@@ -45,6 +45,10 @@
= render partial: 'shared/label', subject: @project, collection: @labels, as: :label
= paginate @labels, theme: 'gitlab'
- elsif params[:search].present?
= _('No labels with such name or description')
- else
= render 'shared/empty_states/labels'
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment