{{ templates.repo_sender_prefix }} {%- if object_attributes.type == CommentType.DISCUSSION_NOTE -%} replied to a thread {%- else -%} commented {%- endif -%} on {% if issue and object_attributes.noteable_type == NoteableType.ISSUE %} {{ issue_link(issue, important=false) }} {% elif merge_request and object_attributes.noteable_type == NoteableType.MERGE_REQUEST %} {{ merge_request_link(merge_request, important=false) }} {% else %} {# unsupported comment target #} {% do abort() %} {% endif %}
{% if object_attributes.description %}
{{ object_attributes.description|markdown }}
{% endif %}