{% extends "ndf/node_details_base.html" %} {% load i18n %} {% load ndf_tags %} {% block title %} {{ node.name }} {% endblock %} {%block style%} {%endblock%} {% block body_content %} {% if title %}
{% else %} {% endif %} {% csrf_token %}
{{node.language|default_if_none:""}}

{% if not list1 %}
{% if "Theme" in node.member_of_names_list %} {% trans "Theme" %} : {{node.name}}

{% else %} {% trans "Page Name" %} : {{node.name}}

{% endif %}

{% if "Theme" not in node.member_of_names_list %} {% trans "Description" %}:

{{node.content_org|default_if_none:""}}

{% trans "Tags: " %}

{{node.tags|join:', '|default_if_none:""}} {% endif %}
{% if "Theme" in node.member_of_names_list %} {% trans "Please give your page a descriptive name. It's helpful for others and for yourself." %} {% else %} {% trans "Please give your page a descriptive name. It's helpful for others and for yourself." %} {% endif %}
{% if "Theme" not in node.member_of_names_list %} {% include "ndf/add_editor.html" with var_name="content_org" var_placeholder="Enter the content here" var_value=node.content_org|default_if_none:"" %} {% endif %}
{% if "Theme" not in node.member_of_names_list %} {% endif %}
{% endif %}
{% if list1 %} {% for each in list1 %}
{% if "Theme" in each.member_of_names_list %}
{% trans "Theme" %}
{{each.name}} {% trans "Please give your page a descriptive name" %}. {% trans "It's helpful for others and for yourself" %}. {% else %} {% if "theme_item" in each.member_of_names_list %}
{% trans "Theme Item" %}
{{each.name}} {% trans "Please give your page a descriptive name" %}. {% trans "It's helpful for others and for yourself" %}. {% else %}
{% trans "Topic" %}
{{each.name}} {% trans "Please give your page a descriptive name" %}.{% trans "It's helpful for others and for yourself" %} . {% endif %} {% endif %}

{% if "Theme" not in each.member_of_names_list and "theme_item" not in each.member_of_names_list and "Topic" not in each.member_of_names_list %}
{% trans "Description" %}:

{{each.content_org|default_if_none:""}

{% endif %}
{% endfor %}
{% for each in list1 %}
{% if "Theme" not in each.member_of_names_list and "theme_item" not in each.member_of_names_list and "Topic" not in each.member_of_names_list %}
{% with each as nodeobj %} {% include "ndf/add_editor.html" with var_name=each var_placeholder="Enter the content here" var_value=each.content_org|default_if_none:"" %} {% endwith %}
{% endif %}
{% endfor %} {% endif %}
{% if not list1 %} {% else%} {% endif %}
{% endblock%}