{% extends "ndf/base.html" %} {% load i18n %} {% load cache %} {% load ndf_tags %} {% load pagination_tags %} {% get_group_name groupid as group_name_tag %} {% block title %} {{ title }} {% endblock %} {% block style %} @media screen and (max-width: 600px) { .collapsible_tree { visibility: hidden; display: none; } .themes { margin: 0; } } {% endblock %} {% block head %} {% endblock%} {% block collection_content %} {% endblock %} {% block related_content %} {% if user.is_authenticated %} {% user_access_policy groupid request.user as user_access %}
{% endif %}
{% if tree == "hierarchical" and user_access == "allow" and user.is_authenticated %} {# {% if user.is_authenticated %} #} {# {% if user_access == "allow" %} #}
+ Add Theme Item

Add New Theme Item:


×
Select All

{% trans "Are you sure you want to delete? All of the related items for the following themes also will be deleted:" %}

×
{# {% endif %} #} {# {% endif %} #} {% elif tree == "collapsible" %}

Using the Theme Tree:

{% endif %}
{% endblock %} {% block meta_content %}
{% endblock %} {% block body_content %}
{% if theme_GST.altnames and theme_GST.altnames != "None" and not node.name %} {{theme_GST.altnames}} {% endif %} {% if node.name %} {{node.name}} {% endif%}
{% if node.content_org %} {{node.content_org}} {% elif theme_GST.content_org and theme_GST.content_org != "None" %} {{theme_GST.content_org}} {% endif%}
{% user_access_policy groupid request.user as user_access %} {% if themes_hierarchy and node %}
{% trans "Theme" %} {% trans "Graph" %} {% trans "Theme" %} {% trans "Tree" %}


{% cache 300 theme_tree node.pk request.LANGUAGE_CODE tree unfold selected %} {% include "ndf/hierarchy_tree.html" with topic_url="topics" %}
Download {{node.name}} Graph
{% include 'ndf/theme_drag_zoom_d3tree.html' %} {% endcache %} {% endif %} {% if themes_cards %} {% cache 300 theme_card_listing request.LANGUAGE_CODE %} {{ each.name }} {# {% get_preferred_lang request group_id nodes "Theme" as nodes %} #} {% group_type_info groupid request.user as grouptype %} {% endcache %} {% endif %} {% if themes_list_items %} {% if nodes %} {% autopaginate nodes 25 %}

{% trans "Are you sure you want to delete? All of the related items for the following themes also will be deleted:" %}

×
{% if user.is_authenticated %} {% if user_access == "allow" %} {% endif %} {% endif %}
{% csrf_token %}
{% endif %} {% if nodes %} {% if user_access == "allow" %} {% endif %} {% endif %} {% for each in nodes %} {% if user_access == "allow" %} {% endif %} {% empty %}

{% trans "No data to display" %}

{% endfor %}
{% if user_access == "allow" %} {% endif %} {% trans "Title" %} {% trans "Created by" %} {% trans "Creation date" %}{% trans "Edit" %}
{% if user_access == "allow" %} {% endif %} {{each.name}} {{each.created_by}} {{each.created_at}}Edit {% trans "Translate" %}
{% paginate %} {% endif %} {% if create_edit %} {% if title == "Theme" or title == "Theme Item" %} {% include "ndf/theme_create_edit.html" %} {% else %} {% endif %} {% endif %} {% endblock %}