{% if (data.user_content) { %} {% } %}
{% if(data.delete) { %} {% } %} {% if(data.edit) { %}
{%= data.edit %}
{% } %}
{% if(data.communication_type==="Communication" || data.communication_type==="Feedback" || (data.communication_type==="Comment" && data.comment_type==="Comment")) { %}
{% if data.show_subject %}

{{ __("Title") }}: {{ data.subject }}


{% endif %} {% if data.communication_type == "Feedback" && data.rating_icons %}

{{ data.rating_icons }}


{% endif %} {%= data.content_html %}
{% if(data.attachments && data.attachments.length) { %}
{% $.each(data.attachments, function(i, a) { %} {% }); %}
{% } %}
{% } else if(in_list(["Assignment Completed", "Assigned", "Shared", "Unshared", "Milestone"], data.comment_type)) { %}
{% if (data.timeline_doctype===data.frm.doc.doctype && data.timeline_name===data.frm.doc.name) { %} {{ __(data.reference_doctype) }} {{ data.reference_name }} – {% } %} {% if(data.link_doctype && data.link_name) { %} {% } %} {{ __(data.content) }} {% if(data.link_doctype && data.link_name) { %} {% } %} – {%= data.comment_on %}
{% } else { %}
{% if (data.comment_type == "Like") { %} {% if (data.timeline_doctype===data.frm.doc.doctype && data.timeline_name===data.frm.doc.name) { %} {{ __(data.reference_doctype) }} {{ data.reference_name }} – {% } %} {%= __("Liked by {0}", [data.fullname]) %} {% } else if (data.comment_type == "Energy Points") { %} {{ data.content_html }} {% } else { %} {%= data.fullname %} {%= __(data.content) %} {% if (data.timeline_doctype===data.frm.doc.doctype && data.timeline_name===data.frm.doc.name) { %} – {{ __(data.reference_doctype) }} {{ data.reference_name }} {% } %} {% } %} – {%= data.comment_on %}
{% } %}