diff --git a/app/assets/javascripts/admin/addon/templates/email-bounced.hbs b/app/assets/javascripts/admin/addon/templates/email-bounced.hbs index e1c995437c0..5677cc4664a 100644 --- a/app/assets/javascripts/admin/addon/templates/email-bounced.hbs +++ b/app/assets/javascripts/admin/addon/templates/email-bounced.hbs @@ -5,7 +5,7 @@ {{i18n "admin.email.time"}} {{i18n "admin.email.user"}} {{i18n "admin.email.to_address"}} - {{i18n "admin.email.email_type"}} + {{i18n "admin.email.email_type"}} @@ -13,7 +13,7 @@ {{i18n "admin.email.logs.filters.title"}} {{text-field value=filter.user placeholderKey="admin.email.logs.filters.user_placeholder"}} {{text-field value=filter.address placeholderKey="admin.email.logs.filters.address_placeholder"}} - {{text-field value=filter.type placeholderKey="admin.email.logs.filters.type_placeholder"}} + {{text-field value=filter.type placeholderKey="admin.email.logs.filters.type_placeholder"}} {{#each model as |l|}} @@ -28,15 +28,26 @@ {{/if}} {{l.to_address}} - {{#if l.has_bounce_key}} - {{l.email_type}} - {{else}} - {{l.email_type}} - {{/if}} + + {{#if l.has_bounce_key}} + + {{l.email_type}} + + {{else}} + {{l.email_type}} + {{/if}} + + + {{#if l.has_bounce_key}} + + {{d-icon "info-circle"}} + + {{/if}} + {{else}} {{#unless loading}} - {{i18n "admin.email.logs.none"}} + {{i18n "admin.email.logs.none"}} {{/unless}} {{/each}} diff --git a/app/assets/javascripts/admin/addon/templates/email-rejected.hbs b/app/assets/javascripts/admin/addon/templates/email-rejected.hbs index 2338af8d152..c214a57e374 100644 --- a/app/assets/javascripts/admin/addon/templates/email-rejected.hbs +++ b/app/assets/javascripts/admin/addon/templates/email-rejected.hbs @@ -6,7 +6,7 @@ {{i18n "admin.email.incoming_emails.from_address"}} {{i18n "admin.email.incoming_emails.to_addresses"}} {{i18n "admin.email.incoming_emails.subject"}} - {{i18n "admin.email.incoming_emails.error"}} + {{i18n "admin.email.incoming_emails.error"}} @@ -16,7 +16,7 @@ {{text-field value=filter.from placeholderKey="admin.email.incoming_emails.filters.from_placeholder"}} {{text-field value=filter.to placeholderKey="admin.email.incoming_emails.filters.to_placeholder"}} {{text-field value=filter.subject placeholderKey="admin.email.incoming_emails.filters.subject_placeholder"}} - {{text-field value=filter.error placeholderKey="admin.email.incoming_emails.filters.error_placeholder"}} + {{text-field value=filter.error placeholderKey="admin.email.incoming_emails.filters.error_placeholder"}} {{#each model as |email|}} @@ -50,9 +50,14 @@ {{email.error}} + + + {{d-icon "info-circle"}} + + {{else}} - {{i18n "admin.email.incoming_emails.none"}} + {{i18n "admin.email.incoming_emails.none"}} {{/each}} diff --git a/app/assets/stylesheets/common/admin/emails.scss b/app/assets/stylesheets/common/admin/emails.scss index 29da56957d0..58d1720a7a1 100644 --- a/app/assets/stylesheets/common/admin/emails.scss +++ b/app/assets/stylesheets/common/admin/emails.scss @@ -32,6 +32,13 @@ max-width: 250px; @include ellipsis; } + + .email-details { + text-align: right; + a { + color: var(--primary-high); + } + } } .incoming-emails { diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 7407e3c6408..fd4bce61ee0 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -4744,6 +4744,7 @@ en: time: "Time" user: "User" email_type: "Email Type" + details_title: "Show email details" to_address: "To Address" test_email_address: "email address to test" send_test: "Send Test Email"