diff --git a/app/views/moderation/inbox/index.html.haml b/app/views/moderation/inbox/index.html.haml index 82ebf9d4..3cae722c 100644 --- a/app/views/moderation/inbox/index.html.haml +++ b/app/views/moderation/inbox/index.html.haml @@ -2,8 +2,11 @@ = render "header", user: @user -.container-lg.container--main +.container-lg.question-page #entries + - if @inboxes.empty? + = render "shared/empty", icon: "fa fa-inbox", translation_key: ".moderation.inbox" + - @inboxes.each do |i| = render "inbox/entry", i: i diff --git a/app/views/moderation/reports/index.html.haml b/app/views/moderation/reports/index.html.haml index bf92cdf7..1df8ae9d 100644 --- a/app/views/moderation/reports/index.html.haml +++ b/app/views/moderation/reports/index.html.haml @@ -1,4 +1,7 @@ #reports + - if @reports.empty? + = render "shared/empty", icon: "fa-regular fa-smile-beam", translation_key: ".moderation.reports" + - @reports.each do |r| = render "moderation/moderationbox", report: r diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index dcf921ff..493483d0 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -578,6 +578,9 @@ en: questions: "This user hasn't asked any questions yet." follower: "This user has no followers." friend: "This user is not following anyone." + moderation: + reports: "There are no open reports right now!" + inbox: "This users inbox is empty." formatting: body_html: |
%{app_name} uses Markdown for formatting