From 71fea4a20861afd85dede964a3382fe1e054abb5 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 29 Jul 2020 16:56:14 -0400 Subject: [PATCH] nodebb/nodebb#8531 --- templates/partials/topic/post-menu-list.tpl | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/templates/partials/topic/post-menu-list.tpl b/templates/partials/topic/post-menu-list.tpl index 161f1c6..93f41e4 100644 --- a/templates/partials/topic/post-menu-list.tpl +++ b/templates/partials/topic/post-menu-list.tpl @@ -97,10 +97,20 @@ {postSharing.name} {{{end}}} +
  • -
  • [[topic:flag_post]]
  • -
  • [[topic:flag_user]]
  • +{{{ if !posts.flagId }}} +
  • [[topic:flag-post]]
  • +
  • [[topic:flag-user]]
  • +{{{ else }}} +
  • [[topic:already-flagged]]
  • +{{{ end }}} - \ No newline at end of file + +
  • +{{{ if posts.flagId }}} +
  • [[topic:view-flag-report]]
  • +{{{ end }}} + \ No newline at end of file