about summary refs log tree commit diff
path: root/app/views/profile/_status_header.html.haml
blob: 6f0e8748eca411f8d4496252f68aa34d9e75ba0b (plain) (blame)
1
2
3
4
5
6
7
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
  = "@#{status.account.acct}"

= link_to status.local? ? status_url(name: status.account.username, id: status.stream_entry.id) : status.url, class: 'time' do
  %span{ title: status.created_at }
    = time_ago_in_words(status.created_at)
    ago