{% extends "site_base.html" %}
{% load i18n %}
{% block title %}{% if atom == None %}Taxonomy Structure - Atoms{% else %}Taxonomy Structure - Atom: {{ atom.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 atom == None %}
{% trans "TAXONOMY STRUCTURE - ATOMS" %}
{% else %}
{% trans "TAXONOMY STRUCTURE" %}
{% trans "ATOM" %}: {% trans atom.title %}
{% endif %}
{% endblock oq_body_heading %}
{% if atom == None %}
| Name |
Title |
{% for atom in atoms %}
| {{ atom.name }} |
{{ atom.title }} |
{% endfor %}
{% else %}
| Name: | {{ atom.name }} |
| Title: | {{ atom.title }} |
{% if atom.desc != '' %}
| Description: | {{ atom.desc }} |
{% endif %}
{% if atom.args != None %}
| Arguments: |
{% for key, value in atom.args.items %}
| {{ key }}: | {{ value }} |
{% endfor %}
|
{% endif %}
{% if atom.params != None %}
| Parameters: |
{% for key, value in atom.params.items %}
| {{ key }}: | {{ value }} |
{% endfor %}
|
{% endif %}
| Type: |
{% for key, value in atom.entry_type.items %}
| {{ key }}: | {{ value }} |
{% endfor %}
|
|
Enabled by:
|
{% if atom.deps.all %}
| Name | Title | Order Id |
{% for el in atom.deps.all|dictsort:"prog" %}
| {{ el.name }} |
{{ el.title }} |
{{ el.prog }} |
{% endfor %}
{% else %}
Always visible
{% endif %}
|
|
Enabling:
|
{% if atom.revdeps.all %}
| Name | Title | Order Id |
{% for el in atom.revdeps.all|dictsort:"prog" %}
| {{ el.name }} |
{{ el.title }} |
{{ el.prog }} |
{% endfor %}
{% else %}
{% if atom.params.type == 'options' %}
{% if atom.param_set != None %}
{% endif %}
{% else %}
Is a hierarchy leaf.
{% endif %}
{% endif %}
|
{% endif %}
{% endblock body %}
{% block extra_script %}
{{block.super}}
{% endblock extra_script %}