{% endif %}
{% endif%}
{% if request.user.is_authenticated %}
{% if 'raw@material' in asset_obj.tags and is_gstaff and title == "raw_material_detail" %}
{% endif %}
{% if 'asset@gallery' in asset_obj.tags %}
{% endif %}
{% if title == 'asset_detail' %}
{% endif %}
{% endif %}
{% if asset_obj.tags %}
{% for tag in asset_obj.tags %}
{% if tag != "asset@asset" and tag != "raw@material" and tag != "asset@gallery" %}
{% endif %}
{% endfor %}
{% endif %}
{% include 'ndf/rating.html' with node=asset_obj %}
{{asset_obj.content|safe|striptags}}
{% else %}
{% if not asset_obj %}
{% trans "Add a new" %}
{% else %}
{% trans "Edit" %}
{% endif %}
{% if title == "raw material" and is_gstaff %}
{% trans "Resource" %}
{% elif title == "gallery" %}
{% trans "Folder" %}
{% elif title == "asset_list" %}
{% trans "Asset" %}
{% endif %}
{% endif %}
{% if edit or not asset_obj %}
{% endif %}
{% endif %}
{% if not edit %}
{% if asset_content_list.grel_id and asset_obj.created_by == request.user.id or is_gstaff and asset_obj and asset_content_list.grel_id %}
{% endif %}
{% for each in asset_content_list.grel_node %}
{% if 'DELETED' != each.status %}