You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
850 B

  1. .public-account-bio
  2. - unless account.fields.empty?
  3. .account__header__fields
  4. - account.fields.each do |field|
  5. %dl
  6. %dt.emojify{ title: field.name }= Formatter.instance.format_field(account, field.name, custom_emojify: true)
  7. %dd{ title: field.value, class: custom_field_classes(field) }
  8. - if field.verified?
  9. %span.verified__mark{ title: t('accounts.link_verified_on', date: l(field.verified_at)) }
  10. = fa_icon 'check'
  11. = Formatter.instance.format_field(account, field.value, custom_emojify: true)
  12. = account_badge(account)
  13. - if account.note.present?
  14. .account__header__content.emojify= Formatter.instance.simplified_format(account, custom_emojify: true)
  15. .public-account-bio__extra
  16. = t 'accounts.joined', date: l(account.created_at, format: :month)