{% extends "site_base.html" %}
{% load i18n %}
{% block title %}{% if attribute == None %}Taxonomy Structure - Attributes{% else %}Taxonomy Structure - Attribute: {{ attribute.title }}{% endif %}{% endblock title %}
{% block extra_head %}
{{ block.super }}
{% if oqp_version_maj == '1' %}
{% else %}
{% endif %}
{% endblock extra_head %}
{% block body %}
{% block oq_body_heading %}
{% if attribute == None %}
{% trans "TAXONOMY STRUCTURE - ATTRIBUTES" %}
{% else %}
{% trans "TAXONOMY STRUCTURE" %}
{% trans "ATTRIBUTE" %}: {% trans attribute.title %}
{% endif %}
{% endblock oq_body_heading %}
{% if attribute == None %}
| Name |
Title |
Order Id |
{% for attribute in attributes|dictsort:"prog" %}
| {{ attribute.name }} |
{{ attribute.title }} |
{{ attribute.prog }} |
{% endfor %}
{% else %}
| Name: | {{ attribute.name }} |
| Title: | {{ attribute.title }} |
|
Members:
|
| Name | Title | Order Id |
{% for el in attribute.atomsgroup_set.all|dictsort:"prog" %}
| {{ el.name }} |
{{ el.title }} |
{{ el.prog }} |
{% endfor %}
|
{% endif %}
{% endblock body %}
{% block extra_script %}
{{block.super}}
{% endblock extra_script %}