1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Add lang attribute on preview card title (#31303)

This commit is contained in:
Christian Schmidt 2024-08-09 15:05:34 +02:00 committed by GitHub
parent 994ef16b72
commit e29c401f77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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?