Adding paperclip for avatars, fixing design of the public pages

This commit is contained in:
Eugen Rochko
2016-02-28 00:02:59 +01:00
parent fa29ef3a41
commit 2c70f0ecaa
14 changed files with 116 additions and 74 deletions

View File

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