{% extends "ndf/base.html" %} {% load i18n %} {% load ndf_tags %} {% block title %} {{title}} {% endblock %} {% block body_content %} {% get_group_name groupid as group_name_tag %}
{% for file in file_collection %}

{{file.name}}

{% if "image" in file.mime_type %} {% endif %}
{% get_user_object file.created_by as user_obj %} {% trans "Posted by:" %} {{ user_obj.username}}
{% trans "size:" %} {{file.file_size.size}}{{file.file_size.unit}}
{% trans "file Type:" %} {{file.mime_type}}
{% trans "Tags:" %} {% for each in file.tags %} {{each}}, {% endfor %}

{% empty %} {% blocktrans %}No file found. Please try using some other keyword{% endblocktrans %} {% endfor %}
{% endblock %}