Improve rendering of bio fields (#7353)

Fix #7335
This commit is contained in:
Eugen Rochko 2018-05-05 00:55:09 +02:00 committed by GitHub
parent 66359ec522
commit 2ef9d65052
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 49 deletions

View file

@ -24,12 +24,11 @@
.account__header__content.p-note.emojify= Formatter.instance.simplified_format(account, custom_emojify: true)
- unless account.fields.empty?
%table.account__header__fields
%tbody
- account.fields.each do |field|
%tr
%th.emojify= field.name
%td.emojify= Formatter.instance.format_field(account, field.value)
.account__header__fields
- 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)
.details-counters
.counter{ class: active_nav_class(short_account_url(account)) }