{% if record.isStory() %}
{{ 'Story_id' | trans }} : {{ record.recordId() }}
{% else %}
{{ 'Record_id' | trans }} : {{ record.recordId() }}
{% endif %}
{% if not record.isStory() %}
{% block td_original_name %}
{{ 'Nom Original' | trans }} : {{ record.getOriginalName() }}
{% endblock %}
{% block td_mime %}
{{ record.getMimeType() }}
{% endblock %}
{% block td_weight %}
{# @todo we should index document weight as well #}
{% endblock %}
{% block td_size %}
{% set width = record.exif.get(constant('media_subdef::TC_DATA_WIDTH')) %}
{% set height = record.exif.get(constant('media_subdef::TC_DATA_HEIGHT')) %}
{% if width is not none and height is not none %}
{{ width ~ " x " ~ height }}
{% endif %}
{% endblock %}