0
0
Fork 0

Account notes (bios) can now contain links. Character limit upped to 160

This commit is contained in:
Eugen Rochko 2016-11-07 01:14:12 +01:00
parent b835f4aa1c
commit 23fc424b7a
6 changed files with 42 additions and 7 deletions

View file

@ -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)) }