{% load i18n %} {% load ndf_tags %} {% user_access_policy groupid request.user as user_access_priv %} {% check_is_gstaff groupid request.user as is_gstaff %}
{% include 'ndf/widget_user_access_modal.html' %}
{% if user.is_authenticated %} {% if title == "raw material" and is_gstaff %} {% endif %} {% if title == "gallery" %} {% endif %} {% if title == "asset_list" %} {% endif %} {% endif %}
{% for each in asset_nodes %}
{% if "raw@material" in each.tags and title == "asset_list" %}
{% trans "Raw Material" %}
{% endif %} {% if each.if_file.mid.relurl and 'video' not in each.if_file.mime_type %} {% elif 'video' not in each.if_file.mime_type and each.if_file.thumbnail.relurl %} {% else %} {% endif %}
{% firstof each.altnames|truncatechars:25 each.name|truncatechars:25 %}
{{each.content|striptags|truncatechars:25}}
{% endfor %}