{% load i18n %} {% comment %} Edit and delete links for one comment. Kept small and quiet: this is a discussion, not an object list, so the actions sit beside the timestamp rather than as buttons. Expects `comment`. {% endcomment %} {% if comment.author_id == request.user.pk or perms.netbox_change_control.change_changecomment %} {% if comment.author_id == request.user.pk %} {% endif %} {% endif %} {% if perms.netbox_change_control.delete_changecomment %} {% endif %}