{% set header_cls = "comment-header" %} {% set article_cls = "article-content" %} {% set comment_by = comment.User.Username %} {% if not comment.User %} {% set comment_by = "<deleted-account>" %} {% endif %} {% if comment.Deleter %} {% set header_cls = "%s %s" | format(header_cls, "comment-deleted") %} {% set article_cls = "%s %s" | format(article_cls, "comment-deleted") %} {% endif %} {% if not comment.Deleter or request.user.has_credential(creds.COMMENT_VIEW_DELETED, approved=[comment.Deleter]) %} {% if not (request.user.HideDeletedComments and comment.DelTS) %}