|
|
|
@ -1,6 +1,10 @@
|
|
|
|
|
- include_threads ||= false
|
|
|
|
|
- is_predecessor ||= false
|
|
|
|
|
- is_successor ||= false
|
|
|
|
|
|
|
|
|
|
- if status.reply? && include_threads
|
|
|
|
|
- status.ancestors.with_includes.with_counters.each do |status|
|
|
|
|
|
= render partial: 'status', locals: { status: status, include_threads: false, is_predecessor: true, is_successor: false }
|
|
|
|
|
= render partial: 'status', locals: { status: status, is_predecessor: true }
|
|
|
|
|
|
|
|
|
|
.entry{ class: entry_classes(status, is_predecessor, is_successor, include_threads) }
|
|
|
|
|
- if status.reblog?
|
|
|
|
@ -34,4 +38,4 @@
|
|
|
|
|
|
|
|
|
|
- if include_threads
|
|
|
|
|
- status.descendants.with_includes.with_counters.each do |status|
|
|
|
|
|
= render partial: 'status', locals: { status: status, include_threads: false, is_successor: true, is_predecessor: false }
|
|
|
|
|
= render partial: 'status', locals: { status: status, is_successor: true }
|
|
|
|
|