{% extends '_base.html' %} {% block title %}Niamoto - Parcelle {{ plot.locality }}{% endblock %} {% block extra_head %} {% endblock %} {% block sidebar %} {% endblock %} {% block content %}
{{ plot.locality }}

Locality: {{ plot.locality }}
Substrat: {{ plot.substrat }}

{% macro render_geography_field(field_key) %}
{% endmacro %} {% macro render_chart(transformation, field_key) %} {% if transformation.chart_options is defined %}

{{ transformation.chart_options.title }}

{% endif %} {% if transformation.chart_type == 'text' %}

{% elif transformation.chart_type == 'pie' %} {% elif transformation.chart_type == 'gauge' %}
{% elif transformation.chart_type == 'bar' %} {% endif %} {% endmacro %} {% macro render_field(field_key, field) %}
{% if field.bins and field.bins.values is defined %}

{{ field.bins.chart_options.title }}

{% endif %} {% for transformation in field.transformations %} {{ render_chart(transformation, field_key) }} {% endfor %}
{% endmacro %} {% for field_key, field in mapping.fields.items() %} {% if field.field_type == 'GEOGRAPHY' %} {{ render_geography_field(field_key) }} {% else %} {{ render_field(field_key, field) }} {% endif %} {% endfor %}
{% endblock %} {% block extra_scripts %} {% endblock %}