From fd65f45a24d3972b10ce0f2fb7c36cbefcaba672 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 3 Jun 2020 11:50:03 -0400 Subject: [PATCH] feat: companion commit to nodebb/nodebb@8ea16348247ab792e413aa95c034b9bf0edb65ca --- templates/flags/detail.tpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/flags/detail.tpl b/templates/flags/detail.tpl index f8657dd..0080822 100644 --- a/templates/flags/detail.tpl +++ b/templates/flags/detail.tpl @@ -127,6 +127,15 @@ [[flags:go-to-target]] + {{{ if type_bool.post }}} + {{{ if !target.deleted}}} + [[flags:delete-post]] + {{{ else }}} + [[flags:purge-post]] + [[flags:restore-post]] + {{{ end }}} + {{{ end }}} +