mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 22:19:32 +00:00
Add lang attribute on preview card title (#31303)
This commit is contained in:
parent
994ef16b72
commit
e29c401f77
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue