aboutsummaryrefslogtreecommitdiff
path: root/app/views/relationships/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/relationships/show.html.haml')
-rw-r--r--app/views/relationships/show.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/relationships/show.html.haml b/app/views/relationships/show.html.haml
index 099bb3202..c82e639e0 100644
--- a/app/views/relationships/show.html.haml
+++ b/app/views/relationships/show.html.haml
@@ -2,7 +2,7 @@
= t('settings.relationships')
- content_for :header_tags do
- = javascript_pack_tag 'admin', integrity: true, async: true, crossorigin: 'anonymous'
+ = javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
.filters
.filter-subset
@@ -42,6 +42,8 @@
%label.batch-table__toolbar__select.batch-checkbox-all
= check_box_tag :batch_checkbox_all, nil, false
.batch-table__toolbar__actions
+ = f.button safe_join([fa_icon('user-plus'), t('relationships.follow_selected_followers')]), name: :follow, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') } if followed_by_relationship? && !mutual_relationship?
+
= f.button safe_join([fa_icon('user-times'), t('relationships.remove_selected_follows')]), name: :unfollow, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') } unless followed_by_relationship?
= f.button safe_join([fa_icon('trash'), t('relationships.remove_selected_followers')]), name: :remove_from_followers, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') } unless following_relationship?