{% extends "ndf/base.html" %} {% load i18n %} {% load ndf_tags %} {% block title %}{{forum.name}}{% endblock %} {% block head %} {% endblock %} {% block help_content %}

{% trans 'Threads are new ideas on the topic' %}

{% endblock %} {% block meta_content %} {% if other_forums %}

  {% trans "Other Forums" %}

{% for each_forum in other_forums %} {{each_forum.1}}
{% endfor %} {% endif %} {% if user.is_authenticated %} {% user_access_policy groupid request.user as user_access %} {% if user_access == "allow" %} {% if hide_create_thread_btn %}   {% trans "Create Forum" %} {% endif %} {% endif %} {% endif %} {% endblock %} {% block concern_information %}
{% endblock %} {% block body_content %} {% get_group_name groupid as group_name_tag %}
{% trans "Forum" %}
{{forum.name}}

{% get_edit_url forum.pk as edit_url %} {% if user.is_superuser or forum.created_by == user.id %} {% trans "Edit" %} {% endif %}


{{ forum_created_by }}
{{forum.created_at|date:"D d M Y" }}
{% with forum.content|safe as forum_content %} {{forum_content|default_if_none:"No description !!"}} {% endwith %}

{% get_forum_twists forum as thread %} {% if thread %} {% for each in thread %} {% get_user_object each.created_by as user_obj %} {% endfor %}
{% trans "Thread Name" %} {% trans "Thread Content" %} {% trans "Total Reply" %} {% trans "Latest Activity" %}
{{each.name}}
{% trans 'by' %} {{user_obj.username}}
{{each.content_org|safe|truncatewords:25}} {{ each.thread_reply_count }}

{{ each.latest_reply.user|truncatechars:10 }}
{{ each.latest_reply.content_org|truncatechars:25 }}
{{ each.latest_reply.last_update }}
{% else %}

“ {% trans 'This forum dosen't have any threads. Be the first to create a thread' %}!”

{% endif %} {% comment %} {% endcomment %} {% endblock %} {% block script %} // {% endblock %}