diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-06 11:48:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-06 11:48:51 +0200 |
commit | 61a90186070395e133ad2f8e959bdf003a8615ca (patch) | |
tree | 49596898f7e5c72116db1d181847f5925a033c59 /app/views/accounts/_header.html.haml | |
parent | bd10a7e48076c913a652c347b0477496be8813fa (diff) |
Enable custom emojis in profiles (notes, field values, display names) (#7374)
Follow-up to #6124
Diffstat (limited to 'app/views/accounts/_header.html.haml')
-rw-r--r-- | app/views/accounts/_header.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/accounts/_header.html.haml b/app/views/accounts/_header.html.haml index 41315f039..13dcaf616 100644 --- a/app/views/accounts/_header.html.haml +++ b/app/views/accounts/_header.html.haml @@ -5,7 +5,7 @@ .card__bio %h1.name - %span.p-name.emojify= display_name(account) + %span.p-name.emojify= display_name(account, custom_emojify: true) %small< %span>< @#{account.local_username_and_domain} = fa_icon('lock') if account.locked? @@ -28,7 +28,7 @@ - account.fields.each do |field| %dl %dt.emojify{ title: field.name }= field.name - %dd.emojify{ title: field.value }= Formatter.instance.format_field(account, field.value) + %dd.emojify{ title: field.value }= Formatter.instance.format_field(account, field.value, custom_emojify: true) .details-counters .counter{ class: active_nav_class(short_account_url(account)) } |