{{ data.docCode }}

{{ data.title }}

{% if is_granted('ROLE_GLOBAL_EDITOR') %} {% endif %}
{% if data.authorText is defined and data.authorText != "" %} {% endif %} {% if data.summary is defined and data.summary != "" %} {% endif %} {% if data.doctypename is defined and data.doctypename != "" %} {% endif %} {% if data.publishedOn is defined and data.publishedOn != "" %} {% endif %} {% if data.notes is defined and data.notes != "" %} {% endif %} {% if data.docGroupList | length > 0 %} {% endif %}
Author(s) {{ data.authorText }}
Summary {{ data.summary | raw }}
Doc Type {{ data.doctypename }}
Status Published on {{ data.publishedOn|date('d M Y') }}
Notes {{ data.notes | raw }}
This document is in the list(s): {% for docGroupList in data.docGroupList %} {{ docGroupList.title }}
{% endfor %}
{% if data.docFiles | length > 0 %}
{% endif %}

{% if data.documentGroup is defined and data.documentGroup | length >0 %}
Group(s): {% for documentGroup in data.documentGroup %} {{ documentGroup.groupname }} {% endfor %}
{% endif %}
{% if data.createdAt is defined and data.createdAt != "" %} {{ "Created at " ~ data.createdAt | date("H:i") ~ ' on ' ~ data.createdAt | date("d M Y") }} {% endif %} {% if data.createdBy is defined and data.createdBy != "" %} {{ ' by ' ~ data.createdBy }} {% endif %}
{% if data.updatedAt is defined and data.updatedAt != "" %} {{ "Created at " ~ data.updatedAt | date("H:i") ~ ' on ' ~ data.updatedAt | date("d M Y") }} {% endif %} {% if data.updatedBy is defined and data.updatedBy != "" %} {{ ' by ' ~ data.updatedBy }} {% endif %}