From e29c401f774613b5c47fb69faf6ec99abf7c61a6 Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Fri, 9 Aug 2024 15:05:34 +0200 Subject: [PATCH] Add lang attribute on preview card title (#31303) --- app/views/admin/trends/links/_preview_card.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/trends/links/_preview_card.html.haml b/app/views/admin/trends/links/_preview_card.html.haml index ee3774790c4..49e0dd3fca0 100644 --- a/app/views/admin/trends/links/_preview_card.html.haml +++ b/app/views/admin/trends/links/_preview_card.html.haml @@ -4,12 +4,12 @@ .batch-table__row__content.pending-account .pending-account__header - = link_to preview_card.title, url_for_preview_card(preview_card) + = link_to preview_card.title, url_for_preview_card(preview_card), lang: preview_card.language %br/ - if preview_card.provider_name.present? - = preview_card.provider_name + %span{ lang: preview_card.language }= preview_card.provider_name ยท - if preview_card.language.present?