diff --git a/app/views/inbox/show.html.haml b/app/views/inbox/show.html.haml index 802127ee..8299b6ce 100644 --- a/app/views/inbox/show.html.haml +++ b/app/views/inbox/show.html.haml @@ -3,7 +3,7 @@ = render "inbox/entry", i: - if @inbox.empty? - %p.empty= t(".empty") + = render "shared/empty", type: "inbox" - if @more_data_available .d-flex.justify-content-center#paginator diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index 493483d0..09224e69 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -581,6 +581,9 @@ en: moderation: reports: "There are no open reports right now!" inbox: "This users inbox is empty." + inbox: + heading: "Your inbox is empty!" + text: "To start answering, generate a question or share your profile on other sites to get questions." formatting: body_html: |

%{app_name} uses Markdown for formatting