Commit 4b91ffca3e07bb4bebcca67430c58457441ed304

Authored by Henry Smith
1 parent 55582047

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
@@ -83,7 +83,7 @@ @@ -83,7 +83,7 @@
83 = render @issues 83 = render @issues
84 - if @issues.blank? 84 - if @issues.blank?
85 %li 85 %li
86 - %h4.nothing_here_message Nothing to show here 86 + %h4.nothing_here_message No issues to show
87 87
88 - if @issues.present? 88 - if @issues.present?
89 .pull-right 89 .pull-right
app/views/projects/merge_requests/index.html.haml
@@ -65,7 +65,7 @@ @@ -65,7 +65,7 @@
65 = render @merge_requests 65 = render @merge_requests
66 - if @merge_requests.blank? 66 - if @merge_requests.blank?
67 %li 67 %li
68 - %h4.nothing_here_message Nothing to show here 68 + %h4.nothing_here_message No merge requests to show
69 - if @merge_requests.present? 69 - if @merge_requests.present?
70 .pull-right 70 .pull-right
71 %span.cgray.pull-right #{@merge_requests.total_count} merge requests for this filter 71 %span.cgray.pull-right #{@merge_requests.total_count} merge requests for this filter
app/views/projects/milestones/index.html.haml
@@ -26,6 +26,6 @@ @@ -26,6 +26,6 @@
26 26
27 - if @milestones.blank? 27 - if @milestones.blank?
28 %li 28 %li
29 - %h3.nothing_here_message Nothing to show here 29 + %h3.nothing_here_message No milestones to show
30 30
31 = paginate @milestones, theme: "gitlab" 31 = paginate @milestones, theme: "gitlab"
app/views/shared/_issues.html.haml
@@ -11,5 +11,5 @@ @@ -11,5 +11,5 @@
11 = render 'projects/issues/issue', issue: issue 11 = render 'projects/issues/issue', issue: issue
12 = paginate @issues, theme: "gitlab" 12 = paginate @issues, theme: "gitlab"
13 - else 13 - else
14 - %p.nothing_here_message Nothing to show here 14 + %p.nothing_here_message No issues to show
15 15
app/views/shared/_merge_requests.html.haml
@@ -10,4 +10,4 @@ @@ -10,4 +10,4 @@
10 = paginate @merge_requests, theme: "gitlab" 10 = paginate @merge_requests, theme: "gitlab"
11 11
12 - else 12 - else
13 - %h3.nothing_here_message Nothing to show here 13 + %h3.nothing_here_message No merge requests to show