{% if comment.action == "comment" %} {% if history %} {% if comment.userobject %}

{{ comment.username }} commented on "{{ comment.userobject }}" at {{ comment.date }} {% else %}

{{ comment.description }} at {{ comment.date }} {% endif %} {% else %}

{{ comment.username }} commented at {{ comment.date }} {% endif %} {% else %} {% if comment.userobject %} {% if comment.userobject == comment.ruleset %}

{{ comment.description }} at {{ comment.date }} {% else %}

{{ comment.username }} did {{ comment.action }} {{ comment.options }} {% if comment.action == "modify" and comment.options == "ruleset" %}for {% endif %}"{{ comment.userobject }}" {% if comment.ruleset %}on {{ comment.ruleset }} {% endif %}at {{ comment.date }} {% endif %} {% else %}

{{ comment.description }} at {{ comment.date }} {% endif %} {% endif %} {% if comment.user == request.user and comment.action == "comment" %} {% endif %}

{% if comment.comment %}

{{ comment.comment }}

{%else %}

No comment

{% endif %}