diff --git a/app/views/inbox/show.haml b/app/views/inbox/show.haml index caaf948d..c60a429c 100644 --- a/app/views/inbox/show.haml +++ b/app/views/inbox/show.haml @@ -1,14 +1,14 @@ #entries - @inbox.each do |i| - = render 'inbox/entry', i: i + = render "inbox/entry", i: i - if @inbox.empty? - = t 'views.inbox.empty' + = t(".empty") -= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @inbox_last_id += render "shared/cursored_pagination_dummy", more_data_available: @more_data_available, last_id: @inbox_last_id - if @more_data_available .d-flex.justify-content-center.justify-content-sm-start %button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @inbox_last_id } } - = t 'views.actions.load' + = t("vpc.load") diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index fb5ed8ab..e9747a75 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -29,6 +29,9 @@ en: title: "Bugs – Feedback" features: title: "Feature Requests – Feedback" + inbox: + show: + empty: "Nothing to see here." modal: password: title: "Save account changes"