{% macro render_comment(comment) -%}
{{ comment.pub_date|datetimeformat|e }} [ {{ _("Edit") }} | {{ _("Delete") }} | {% if comment.is_spam %}{{ akismet_active and _("Mark and Report as Not Spam") or _("Mark as Not Spam") }} {% elif comment.blocked %} {{ _("Approve") }} | {% if comment.status == 1 %} {{ _("Block") }} | {% endif %} {{ akismet_active and _("Mark and Report as Spam") or _("Mark as Spam") }} {% else %} {{ _("Block") }} | {{ akismet_active and _("Mark and Report as Spam") or _("Mark as Spam") }} {% endif %} ] {%- if comment.post.title %}{{ comment.post.title|e }}{%- else %}#{%- endif %}
{%- endmacro %}