mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:19:53 +01:00
Display if a context question has been deleted when viewing anon blocks
This commit is contained in:
parent
8005fc8ae6
commit
c59a70844b
2 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,10 @@
|
|||
%li.list-group-item
|
||||
.d-flex
|
||||
%div
|
||||
%p.mb-0= block.question.content
|
||||
- if block.question.present?
|
||||
%p.mb-0= block.question.content
|
||||
- else
|
||||
%p.mb-0.text-muted.font-italic= t('.deleted_question')
|
||||
%p.text-muted.mb-0= t(".blocked", time: time_ago_in_words(block.created_at))
|
||||
.ml-auto.d-inline-flex
|
||||
%button.btn.btn-default.align-self-center{ data: { action: "anon-unblock", target: block.id } }
|
||||
|
|
|
@ -156,6 +156,7 @@ en:
|
|||
anon_blocks:
|
||||
heading: "Anonymous Blocks"
|
||||
body: "Each anonymous user you've blocked is listed here, along with a way to unblock them. We also display the question they asked you to add some more context. You can block anonymous users directly from the question in your inbox."
|
||||
deleted_question: "Deleted question"
|
||||
data:
|
||||
index:
|
||||
title: "Your Data"
|
||||
|
|
Loading…
Reference in a new issue