Add text if no user is (anonymously) blocked
This commit is contained in:
parent
d4c782c1ee
commit
3788e492dd
|
@ -13,6 +13,9 @@
|
|||
.ml-auto.d-inline-flex
|
||||
%button.btn.btn-default.align-self-center{ data: { action: :unblock, target: block.target.screen_name } }
|
||||
%span.pe-none= t("views.actions.unblock")
|
||||
|
||||
- if @blocks.empty?
|
||||
%p.text-muted.text-center= t(".none")
|
||||
.card
|
||||
.card-body
|
||||
%h2= t(".section.anon_blocks.heading")
|
||||
|
@ -28,3 +31,5 @@
|
|||
%button.btn.btn-default.align-self-center{ data: { action: "anon-unblock", target: block.id } }
|
||||
%span.pe-none= t("views.actions.unblock")
|
||||
|
||||
- if @anonymous_blocks.empty?
|
||||
%p.text-muted.text-center= t(".none")
|
||||
|
|
|
@ -94,6 +94,7 @@ en:
|
|||
heading: "Unsatisfied?"
|
||||
blocks:
|
||||
blocked: "blocked %{time} ago"
|
||||
none: "No one has been blocked yet"
|
||||
section:
|
||||
blocks:
|
||||
heading: "Blocks"
|
||||
|
|
Loading…
Reference in New Issue