Adding paperclip for avatars, fixing design of the public pages
This commit is contained in:
		| @@ -10,4 +10,5 @@ | ||||
|     .container | ||||
|       = yield | ||||
|     .footer | ||||
|       Powered by | ||||
|       = link_to 'Mastodon', 'https://github.com/Gargron/mastodon', class: 'mastodon-link' | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|     .pre-header | ||||
|       %i.fa.fa-retweet | ||||
|       Shared by | ||||
|       = link_to status.account.display_name.blank? ? status.account.username : status.account.display_name, (status.account.local? ? profile_url(name: status.account.username) : status.account.url), class: 'name' | ||||
|       = link_to display_name(status.account), profile_url(status.account), class: 'name' | ||||
|   .header | ||||
|     = render partial: 'status_header', locals: { status: status.reblog? ? status.reblog : status } | ||||
|   .content | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| .counter.counter-retweets | ||||
| .counter.counter-reblogs | ||||
|   %i.fa.fa-retweet | ||||
|   %span.num= status.reblogs.count | ||||
|  | ||||
| @@ -7,4 +7,4 @@ | ||||
|   %span.num= status.favourites.count | ||||
|  | ||||
| - if status.reply? | ||||
|   = link_to 'View conversation', status.thread.local? ? status_url(name: status.thread.account.username, id: status.thread.id) : status.thread.url, class: 'conversation-link' | ||||
|   = link_to 'View conversation', status_url(status.thread), class: 'conversation-link' | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| = link_to (status.account.local? ? profile_url(name: status.account.username) : status.account.url), class: 'name' do | ||||
|   %strong= status.account.display_name.blank? ? status.account.username : status.account.display_name | ||||
| = link_to profile_url(status.account), class: 'name' do | ||||
|   %strong= display_name(status.account) | ||||
|   = "@#{status.account.acct}" | ||||
|  | ||||
| = link_to status.local? ? status_url(name: status.account.username, id: status.stream_entry.id) : status.url, class: 'time' do | ||||
| = link_to status_url(status), class: 'time' do | ||||
|   %span{ title: status.created_at } | ||||
|     = time_ago_in_words(status.created_at) | ||||
|     ago | ||||
|   | ||||
		Reference in New Issue
	
	Block a user