summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Lee Yu <hleeyu@gmail.com>2018-11-19 21:24:15 +0800
committerHeinrich Lee Yu <hleeyu@gmail.com>2018-11-19 23:58:35 +0800
commitbc6f19a724e501473798130d13f083c64a68d89a (patch)
tree7f987f515a3d9c2932dc8501e27f54a320067205
parent801fc90c1285876b2028d6026529cb0ba9eaa8db (diff)
downloadgitlab-ce-bc6f19a724e501473798130d13f083c64a68d89a.tar.gz
Update empty state message
-rw-r--r--app/views/shared/empty_states/_issues.html.haml4
-rw-r--r--app/views/shared/empty_states/_merge_requests.html.haml4
-rw-r--r--locale/gitlab.pot2
-rw-r--r--spec/features/issues_spec.rb2
-rw-r--r--spec/features/merge_request/user_sees_empty_state_spec.rb2
5 files changed, 7 insertions, 7 deletions
diff --git a/app/views/shared/empty_states/_issues.html.haml b/app/views/shared/empty_states/_issues.html.haml
index bc5c41ae696..0ddc56dc6c3 100644
--- a/app/views/shared/empty_states/_issues.html.haml
+++ b/app/views/shared/empty_states/_issues.html.haml
@@ -11,8 +11,8 @@
- if has_filter_bar_param?
%h4.text-center
= _("Sorry, your filter produced no results")
- %p
- = _("To widen your search, change or remove filters in the filter bar above")
+ %p.text-center
+ = _("To widen your search, change or remove filters above")
- elsif current_user
%h4
= _("The Issue Tracker is the place to add things that need to be improved or solved in a project")
diff --git a/app/views/shared/empty_states/_merge_requests.html.haml b/app/views/shared/empty_states/_merge_requests.html.haml
index 39e3a3563a7..06ceb9738bc 100644
--- a/app/views/shared/empty_states/_merge_requests.html.haml
+++ b/app/views/shared/empty_states/_merge_requests.html.haml
@@ -11,8 +11,8 @@
- if has_filter_bar_param?
%h4.text-center
= _("Sorry, your filter produced no results")
- %p
- = _("To widen your search, change or remove filters in the filter bar above")
+ %p.text-center
+ = _("To widen your search, change or remove filters above")
- else
%h4
= _("Merge requests are a place to propose changes you've made to a project and discuss those changes with others")
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index c99a0c5e25b..b39e092bb51 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -6609,7 +6609,7 @@ msgstr ""
msgid "To validate your GitLab CI configurations, go to 'CI/CD → Pipelines' inside your project, and click on the 'CI Lint' button."
msgstr ""
-msgid "To widen your search, change or remove filters in the filter bar above"
+msgid "To widen your search, change or remove filters above"
msgstr ""
msgid "Today"
diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb
index 91290858e10..5c1ffb76351 100644
--- a/spec/features/issues_spec.rb
+++ b/spec/features/issues_spec.rb
@@ -15,7 +15,7 @@ describe 'Issues' do
visit project_issues_path(project, milestone_title: "1.0")
expect(page).to have_content('Sorry, your filter produced no results')
- expect(page).to have_content('To widen your search, change or remove filters in the filter bar above')
+ expect(page).to have_content('To widen your search, change or remove filters above')
end
end
diff --git a/spec/features/merge_request/user_sees_empty_state_spec.rb b/spec/features/merge_request/user_sees_empty_state_spec.rb
index ae9c5ef5221..012bfd6e458 100644
--- a/spec/features/merge_request/user_sees_empty_state_spec.rb
+++ b/spec/features/merge_request/user_sees_empty_state_spec.rb
@@ -32,7 +32,7 @@ describe 'Merge request > User sees empty state' do
expect(page).to have_selector('.empty-state')
expect(page).to have_content('Sorry, your filter produced no results')
- expect(page).to have_content('To widen your search, change or remove filters in the filter bar above')
+ expect(page).to have_content('To widen your search, change or remove filters above')
end
end
end