From b7df2c3d4cfcc0c86d506b2ca66ebd443520cc09 Mon Sep 17 00:00:00 2001 From: Keith Mitchell Date: Wed, 6 Jul 2011 14:14:51 -0700 Subject: [PATCH] Only allow 'block user' from PMs --- r2/r2/templates/printablebuttons.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/templates/printablebuttons.html b/r2/r2/templates/printablebuttons.html index fb880bb7b..3d318e377 100644 --- a/r2/r2/templates/printablebuttons.html +++ b/r2/r2/templates/printablebuttons.html @@ -302,7 +302,7 @@ %endif %if thing.recipient: ${self.banbuttons()} - %if thing.thing.author_id != c.user._id and thing.thing.author_id not in c.user.enemies: + %if not thing.was_comment and thing.thing.author_id != c.user._id and thing.thing.author_id not in c.user.enemies:
  • ${ynbutton(_("block user"), _("blocked"), "block", "hide_thing")}