{% set commented_at = comment.CommentTS | dt | as_timezone(timezone) %} {% set view_account_info = 'View account information for %s' | tr | format(comment.User.Username) %} {{ "%s commented on %s" | tr | format( ('%s' | format( comment.User.Username, view_account_info, comment.User.Username )) if request.user.is_authenticated() else (comment.User.Username), '%s' | format( comment.ID, commented_at.strftime("%Y-%m-%d %H:%M") ) ) | safe }} {% if is_maintainer %}
Edit comment {% endif %}

{% if comment.RenderedComment %} {{ comment.RenderedComment | safe }} {% else %} {{ comment.Comments }} {% endif %}