mirror of https://github.com/Siphonay/mastodon
Merge branch 'master' into glitch-soc/merge-upstream
This commit is contained in:
commit
5eb3b8522e
|
@ -78,7 +78,7 @@ module ApplicationHelper
|
||||||
output << "flavour-#{current_flavour.parameterize}"
|
output << "flavour-#{current_flavour.parameterize}"
|
||||||
output << "skin-#{current_skin.parameterize}"
|
output << "skin-#{current_skin.parameterize}"
|
||||||
output << 'system-font' if current_account&.user&.setting_system_font_ui
|
output << 'system-font' if current_account&.user&.setting_system_font_ui
|
||||||
output << current_account&.user&.setting_reduce_motion ? 'reduce-motion' : 'no-reduce-motion'
|
output << (current_account&.user&.setting_reduce_motion ? 'reduce-motion' : 'no-reduce-motion')
|
||||||
output << 'rtl' if locale_direction == 'rtl'
|
output << 'rtl' if locale_direction == 'rtl'
|
||||||
output.reject(&:blank?).join(' ')
|
output.reject(&:blank?).join(' ')
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
.account__header__fields
|
.account__header__fields
|
||||||
- account.fields.each do |field|
|
- account.fields.each do |field|
|
||||||
%dl
|
%dl
|
||||||
%dt.emojify{ title: field.name }= field.name
|
%dt.emojify{ title: field.name }= Formatter.instance.format_field(account, field.name, custom_emojify: true)
|
||||||
%dd.emojify{ title: field.value }= Formatter.instance.format_field(account, field.value, custom_emojify: true)
|
%dd.emojify{ title: field.value }= Formatter.instance.format_field(account, field.value, custom_emojify: true)
|
||||||
|
|
||||||
= account_badge(account)
|
= account_badge(account)
|
||||||
|
|
Loading…
Reference in New Issue