{#
/**
 * @file
 * Block template from where to load the modals.
 *
 * See AltcomAjax::altcomAjaxAttrsString() for explanantion of vars.
 *
 * Available variables:
 * - element - The raw element containing data.
 *    - path - Current path where the block is displayed.
 */
#}
{{ attach_library('ui_patterns/tm_mnd_media_item.tm_mnd_media_item_lib') }}

<div class="mnd media-item {{ type }}">
  {{ media }}
  {% if download_url %}
    <a href="{{ download_url }}" class="download"><i class="fas fa-download"></i></a>
  {% endif %}
</div>
