From 4b91ffca3e07bb4bebcca67430c58457441ed304 Mon Sep 17 00:00:00 2001 From: Henry Smith Date: Thu, 15 Aug 2013 18:31:16 +0100 Subject: [PATCH] More specific empty state message wording I've changed all the instances of "Nothing to show here" to specifically mention the name of the entity of which there are none to show. This makes for a slightly smoother reading experience. --- app/views/projects/issues/_issues.html.haml | 2 +- app/views/projects/merge_requests/index.html.haml | 2 +- app/views/projects/milestones/index.html.haml | 2 +- app/views/shared/_issues.html.haml | 2 +- app/views/shared/_merge_requests.html.haml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/projects/issues/_issues.html.haml b/app/views/projects/issues/_issues.html.haml index 99a23c169d..539c45edd9 100644 --- a/app/views/projects/issues/_issues.html.haml +++ b/app/views/projects/issues/_issues.html.haml @@ -83,7 +83,7 @@ = render @issues - if @issues.blank? %li - %h4.nothing_here_message Nothing to show here + %h4.nothing_here_message No issues to show - if @issues.present? .pull-right diff --git a/app/views/projects/merge_requests/index.html.haml b/app/views/projects/merge_requests/index.html.haml index 35de9149d8..2bd5a027a0 100644 --- a/app/views/projects/merge_requests/index.html.haml +++ b/app/views/projects/merge_requests/index.html.haml @@ -65,7 +65,7 @@ = render @merge_requests - if @merge_requests.blank? %li - %h4.nothing_here_message Nothing to show here + %h4.nothing_here_message No merge requests to show - if @merge_requests.present? .pull-right %span.cgray.pull-right #{@merge_requests.total_count} merge requests for this filter diff --git a/app/views/projects/milestones/index.html.haml b/app/views/projects/milestones/index.html.haml index 0c0828c906..ddb46bcb5c 100644 --- a/app/views/projects/milestones/index.html.haml +++ b/app/views/projects/milestones/index.html.haml @@ -26,6 +26,6 @@ - if @milestones.blank? %li - %h3.nothing_here_message Nothing to show here + %h3.nothing_here_message No milestones to show = paginate @milestones, theme: "gitlab" diff --git a/app/views/shared/_issues.html.haml b/app/views/shared/_issues.html.haml index 6f4852d878..3b3888a50e 100644 --- a/app/views/shared/_issues.html.haml +++ b/app/views/shared/_issues.html.haml @@ -11,5 +11,5 @@ = render 'projects/issues/issue', issue: issue = paginate @issues, theme: "gitlab" - else - %p.nothing_here_message Nothing to show here + %p.nothing_here_message No issues to show diff --git a/app/views/shared/_merge_requests.html.haml b/app/views/shared/_merge_requests.html.haml index 4be445e6a3..b7a7ca8fcc 100644 --- a/app/views/shared/_merge_requests.html.haml +++ b/app/views/shared/_merge_requests.html.haml @@ -10,4 +10,4 @@ = paginate @merge_requests, theme: "gitlab" - else - %h3.nothing_here_message Nothing to show here + %h3.nothing_here_message No merge requests to show