{% if comments_pending %}
{% for comment in comments_pending %}
{{ comment.author }}
{{ comment.post_time | date(format="%F %R", locale=time_lang) }}
{% if comment.editable %}
{{ tr(l=l,k="admin-comment-edit")|safe }}
{% endif %} {% if admin and comment.needs_approval %}
{{ tr(l=l,k="admin-comment-approve")|safe }}
{% endif %} {% if admin %}
{{ tr(l=l,k="admin-comment-remove")|safe }}
{% endif %}
{{ comment.text }}
{% endfor %}
{% endif %}
{% for comment in comments %}
{{ comment.author }}
{{ comment.post_time | date(format="%F %R", locale=time_lang) }}
{% if comment.editable %}
{{ tr(l=l,k="admin-comment-edit")|safe }}
{% endif %} {% if admin and comment.needs_approval %}
{{ tr(l=l,k="admin-comment-approve")|safe }}
{% endif %} {% if admin %}
{{ tr(l=l,k="admin-comment-remove")|safe }}
{% endif %}
{{ comment.text }}
{% endfor %}
{% if new_comment_errors %}
{{ tr(l=l,k="error-list")|safe }}
{% for error in new_comment_errors %}
{{ error | safe }}
{% endfor %}
{% endif %}
{{ tr(l=l,k="comment_form-author")|safe }}
{{ tr(l=l,k="comment_form-email")|safe }}
{{ tr(l=l,k="comment_form-text")|safe }}
{% if new_comment_text %}{{ new_comment_text }}{% endif %}
{{ tr(l=l,k="comment_form-new_button")|safe }}
{% if edit_comment %}
{% if edit_comment_errors %}
{{ tr(l=l,k="error-list")|safe }}
{% for error in edit_comment_errors %}
{{ error | safe }}
{% endfor %}
{% endif %}
{{ tr(l=l,k="comment_form-author")|safe }}
{{ tr(l=l,k="comment_form-email")|safe }}
{{ tr(l=l,k="comment_form-text")|safe }}
{% if edit_comment_text %}{{ edit_comment_text }}{% endif %}
{{ tr(l=l,k="comment_form-edit_button")|safe }}
{% endif %}
{{ comment.text }}