{% if comment.bl.can_update_by(current_user) -%} {{ pgettext('comment_controls', 'Edit') }} {%- endif %} {% if comment.deleted and comment.bl.can_restore_by(current_user) -%} {{ pgettext('comment_controls', 'Restore') }} {%- endif %} {% if not comment.deleted and comment.bl.can_delete_by(current_user) -%} {{ pgettext('comment_controls', 'Delete') }} {%- endif %}