Change AccountRelationshipSeveranceEvent
model to store lost followers and following counts separately (#29714)
This commit is contained in:
parent
34f293475e
commit
dfa43707eb
7 changed files with 30 additions and 8 deletions
|
@ -21,13 +21,13 @@
|
|||
%td{ rowspan: 2 }= t('severed_relationships.purged')
|
||||
- else
|
||||
%td
|
||||
- count = event.severed_relationships.active.about_local_account(current_account).count
|
||||
- count = event.following_count
|
||||
- if count.zero?
|
||||
= t('generic.none')
|
||||
- else
|
||||
= table_link_to 'download', t('severed_relationships.download', count: count), following_severed_relationship_path(event, format: :csv)
|
||||
%td
|
||||
- count = event.severed_relationships.passive.about_local_account(current_account).count
|
||||
- count = event.followers_count
|
||||
- if count.zero?
|
||||
= t('generic.none')
|
||||
- else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue