1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 00:08:39 +09:00

Fix issue with missing emojify class in views (#1455)

* Add missing emojify class to landing strip

* Add missing emojify class to simple_status partial
This commit is contained in:
Matt Jankowski 2017-04-10 15:27:52 -04:00 committed by Eugen
parent dbe9f33fdc
commit d2f6d9b9fb
2 changed files with 5 additions and 2 deletions

View File

@ -1,2 +1,5 @@
.landing-strip .landing-strip
= t('landing_strip_html', name: display_name(account), domain: Rails.configuration.x.local_domain, sign_up_path: new_user_registration_path) = t('landing_strip_html',
name: content_tag(:span, display_name(account), class: :emojify),
domain: Rails.configuration.x.local_domain,
sign_up_path: new_user_registration_path)

View File

@ -13,7 +13,7 @@
= fa_icon('retweet fw') = fa_icon('retweet fw')
%span %span
= link_to TagManager.instance.url_for(status.account), class: 'status__display-name muted' do = link_to TagManager.instance.url_for(status.account), class: 'status__display-name muted' do
%strong= display_name(status.account) %strong.emojify= display_name(status.account)
= t('stream_entries.reblogged') = t('stream_entries.reblogged')
= render partial: centered ? 'stream_entries/detailed_status' : 'stream_entries/simple_status', locals: { status: status.proper } = render partial: centered ? 'stream_entries/detailed_status' : 'stream_entries/simple_status', locals: { status: status.proper }