diff --git a/templates/components/entry_comment.html.twig b/templates/components/entry_comment.html.twig index fc0266120..a1e65484a 100644 --- a/templates/components/entry_comment.html.twig +++ b/templates/components/entry_comment.html.twig @@ -101,9 +101,16 @@ {% if comment.visibility in ['visible', 'private'] %}
  • - {{ 'reply'|trans }} + {% if not comment.entry.isLocked %} + {{ 'reply'|trans }} + {% else %} + + + {{ 'reply'|trans }} + + {% endif %}
  • {{ component('boost', {subject: comment}) }} diff --git a/templates/components/post_comment.html.twig b/templates/components/post_comment.html.twig index ad11dd832..e13183a28 100644 --- a/templates/components/post_comment.html.twig +++ b/templates/components/post_comment.html.twig @@ -98,9 +98,16 @@ {% if comment.visibility in ['visible', 'private'] %}
  • - {{ 'reply'|trans }} + {% if not comment.post.isLocked %} + {{ 'reply'|trans }} + {% else %} + + + {{ 'reply'|trans }} + + {% endif %}
  • {{ component('boost', {