{% macro render_comment(comment) -%}

{{ comment.author }} | {% if comment.email %}{{ comment.email|e }}{% else %}no email given{% endif %} | {% if comment.www %}{{ comment.www|e }} |{% endif %} IP: {{ comment.submitter_ip }}

{{ comment.body }}

{{ 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 %}