Account notes (bios) can now contain links. Character limit upped to 160
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
%small= "@#{@account.username}"
|
||||
.details
|
||||
.bio
|
||||
%p= @account.note
|
||||
.account__header__content= Formatter.instance.simplified_format(@account)
|
||||
|
||||
.details-counters
|
||||
.counter{ class: active_nav_class(account_url(@account)) }
|
||||
|
@ -1,7 +1,8 @@
|
||||
object @account
|
||||
|
||||
attributes :id, :username, :acct, :display_name, :note
|
||||
attributes :id, :username, :acct, :display_name
|
||||
|
||||
node(:note) { |account| Formatter.instance.simplified_format(account) }
|
||||
node(:url) { |account| TagManager.instance.url_for(account) }
|
||||
node(:avatar) { |account| full_asset_url(account.avatar.url(:large, false)) }
|
||||
node(:header) { |account| full_asset_url(account.header.url(:medium, false)) }
|
||||
|
Reference in New Issue
Block a user