diff options
Diffstat (limited to 'app/views/profile')
-rw-r--r-- | app/views/profile/_favourite.html.haml | 5 | ||||
-rw-r--r-- | app/views/profile/_follow.html.haml | 5 | ||||
-rw-r--r-- | app/views/profile/_status.html.haml | 23 | ||||
-rw-r--r-- | app/views/profile/_status_footer.html.haml | 2 | ||||
-rw-r--r-- | app/views/profile/_status_header.html.haml | 7 | ||||
-rw-r--r-- | app/views/profile/entry.html.haml | 5 | ||||
-rw-r--r-- | app/views/profile/show.html.haml | 14 |
7 files changed, 0 insertions, 61 deletions
diff --git a/app/views/profile/_favourite.html.haml b/app/views/profile/_favourite.html.haml deleted file mode 100644 index 85e3a0824..000000000 --- a/app/views/profile/_favourite.html.haml +++ /dev/null @@ -1,5 +0,0 @@ -.entry.entry-favourite - .content - %strong= favourite.account.acct - favourited a post by - %strong= favourite.status.account.acct diff --git a/app/views/profile/_follow.html.haml b/app/views/profile/_follow.html.haml deleted file mode 100644 index c1c081374..000000000 --- a/app/views/profile/_follow.html.haml +++ /dev/null @@ -1,5 +0,0 @@ -.entry.entry-follow - .content - %strong= follow.account.acct - is now following - %strong= follow.target_account.acct diff --git a/app/views/profile/_status.html.haml b/app/views/profile/_status.html.haml deleted file mode 100644 index b089036b1..000000000 --- a/app/views/profile/_status.html.haml +++ /dev/null @@ -1,23 +0,0 @@ -- if status.reply? && include_threads - = render partial: 'status', locals: { status: status.thread, include_threads: false, is_predecessor: true, is_successor: false } - -.entry{ class: entry_classes(status, is_predecessor, is_successor, include_threads) } - - if status.reblog? - .pre-header - %i.fa.fa-retweet - Shared by - = link_to display_name(status.account), profile_url(status.account), class: 'name' - .entry__container - .avatar - = image_tag avatar_for_status_url(status) - .entry__container__container - .header - = render partial: 'status_header', locals: { status: status.reblog? ? status.reblog : status } - .content - = status.content.html_safe - .counters - = render partial: 'status_footer', locals: { status: status.reblog? ? status.reblog : status } - -- if include_threads - - status.replies.each do |status| - = render partial: 'status', locals: { status: status, include_threads: false, is_successor: true, is_predecessor: false } diff --git a/app/views/profile/_status_footer.html.haml b/app/views/profile/_status_footer.html.haml deleted file mode 100644 index a2333df15..000000000 --- a/app/views/profile/_status_footer.html.haml +++ /dev/null @@ -1,2 +0,0 @@ -- if status.reply? - = link_to "In response to #{status.thread.account.acct}", status_url(status.thread), class: 'conversation-link' diff --git a/app/views/profile/_status_header.html.haml b/app/views/profile/_status_header.html.haml deleted file mode 100644 index 225a89d71..000000000 --- a/app/views/profile/_status_header.html.haml +++ /dev/null @@ -1,7 +0,0 @@ -= link_to profile_url(status.account), class: 'name' do - %strong= display_name(status.account) - = "@#{status.account.acct}" - -= link_to status_url(status), class: 'time' do - %span{ title: status.created_at } - = relative_time(status.created_at) diff --git a/app/views/profile/entry.html.haml b/app/views/profile/entry.html.haml deleted file mode 100644 index e4d5db300..000000000 --- a/app/views/profile/entry.html.haml +++ /dev/null @@ -1,5 +0,0 @@ -- content_for :header_tags do - %link{ rel: 'alternate', type: 'application/atom+xml', href: atom_entry_url(id: @entry.id) }/ - -.activity-stream - = render partial: @type, locals: { @type.to_sym => @entry.activity, include_threads: true, is_predecessor: false, is_successor: false } diff --git a/app/views/profile/show.html.haml b/app/views/profile/show.html.haml deleted file mode 100644 index c02bdddcf..000000000 --- a/app/views/profile/show.html.haml +++ /dev/null @@ -1,14 +0,0 @@ -- content_for :header_tags do - %link{ rel: 'salmon', href: salmon_url(@account) }/ - %link{ rel: 'alternate', type: 'application/atom+xml', href: atom_user_stream_url(id: @account.id) }/ - -.card - .avatar= image_tag @account.avatar.url(:medium) - .bio - %h1.name - = @account.display_name.blank? ? @account.username : @account.display_name - %small= "@#{@account.username}" - -.activity-stream - - @account.statuses.order('id desc').each do |status| - = render partial: 'status', locals: { status: status, include_threads: false, is_successor: false, is_predecessor: false } |