simplify emojification on public pages with .emojify class
This commit is contained in:
parent
131bae89fd
commit
917cf0bf5d
8 changed files with 13 additions and 13 deletions
|
@ -3,6 +3,6 @@
|
|||
.avatar= image_tag account.avatar.url(:original)
|
||||
.name
|
||||
= link_to TagManager.instance.url_for(account) do
|
||||
%span.display_name= display_name(account)
|
||||
%span.display_name.emojify= display_name(account)
|
||||
%span.username= "@#{account.acct}"
|
||||
%p.note= truncate(strip_tags(account.note), length: 150)
|
||||
%p.note.emojify= truncate(strip_tags(account.note), length: 150)
|
||||
|
|
|
@ -11,13 +11,13 @@
|
|||
= link_to t('accounts.remote_follow'), account_remote_follow_path(@account), class: 'button'
|
||||
.avatar= image_tag @account.avatar.url(:original), class: 'u-photo'
|
||||
%h1.name
|
||||
%span.p-name= display_name(@account)
|
||||
%span.p-name.emojify= display_name(@account)
|
||||
%small
|
||||
%span.p-nickname= "@#{@account.username}"
|
||||
= fa_icon('lock') if @account.locked?
|
||||
.details
|
||||
.bio
|
||||
.account__header__content.p-note= Formatter.instance.simplified_format(@account)
|
||||
.account__header__content.p-note.emojify= Formatter.instance.simplified_format(@account)
|
||||
|
||||
.details-counters
|
||||
.counter{ class: active_nav_class(account_url(@account)) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue