Commit 44a45184 authored by Kushal Pandya's avatar Kushal Pandya

Show correct copy on page based on search params presence

parent d5b77d24
- has_filters_applied = params[:label_name].present? || params[:author_username].present? || params[:search].present?
.row.empty-state
.col-xs-12
.svg-content
......@@ -5,8 +7,14 @@
.col-xs-12
.text-content
%h4
- if has_filters_applied
= _('Sorry, no epics matched your search')
- else
= _('Epics let you manage your portfolio of projects more efficiently and with less effort')
%p
- if has_filters_applied
= _('To widen your search, change or remove filters. If something is missing, create an epic.')
- else
= _('Track groups of issues that share a theme, across projects and milestones')
- if can?(current_user, :create_epic, @group)
#new-epic-app{ data: { endpoint: request.url } }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment