From 7a125fd464794b049b9adcf02b32bfab03bea8ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 10 Dec 2018 12:40:21 -0500 Subject: [PATCH] Hide the user picture in all cases Until https://gitlab.com/agaric/sites/agaric-com/issues/117 --- agaric/templates/content/comment.html.twig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/agaric/templates/content/comment.html.twig b/agaric/templates/content/comment.html.twig index 2e2c96d..0fcacec 100644 --- a/agaric/templates/content/comment.html.twig +++ b/agaric/templates/content/comment.html.twig @@ -73,7 +73,12 @@ {{ created }}
{{ author }}

- {% if user_picture %} + {% if false and user_picture %} + {# Drupal is broken and so prints all this, including an
wrapper + for the user, even when there is no user picture at all, even for + anonymous users. Therefore we'll skip this, but maybe can bring it back + to only print pictures for Agaric worker-owners, along with other special + styling for us fancy folk. #}
{{ user_picture }}