2021-12-22 15:03:42 -08:00
|
|
|
.card
|
|
|
|
.card-body
|
2022-12-28 19:38:36 -08:00
|
|
|
%h2= t(".users.heading")
|
|
|
|
%p= t(".users.body")
|
|
|
|
#users
|
|
|
|
- @users.each do |user|
|
|
|
|
= render "settings/mutes/user", user: user
|
|
|
|
- if @users.empty?
|
|
|
|
%p.text-muted.text-center= t(".users.none")
|
|
|
|
|
|
|
|
.card
|
|
|
|
.card-body
|
|
|
|
%h2= t(".terms.heading")
|
|
|
|
%p= t(".terms.body")
|
|
|
|
%p= t(".terms.note")
|
2022-11-18 12:47:37 -08:00
|
|
|
#rules
|
2021-12-22 16:20:47 -08:00
|
|
|
- @rules.each do |rule|
|
2022-11-18 12:47:37 -08:00
|
|
|
= render "settings/mutes/rule", rule: rule
|
2022-11-20 07:30:24 -08:00
|
|
|
= render "settings/mutes/form"
|
2022-07-03 12:11:35 -07:00
|
|
|
|
|
|
|
- provide(:title, generate_title(t(".title")))
|
|
|
|
- parent_layout "user/settings"
|