{% extends "base.html" %} {% from '_comments.html' import render_comments %} {% from '_featured_image.html' import featured_image_block %} {% from '_archive.html' import archive_button, archived_chip %} {% block title %}{{ planting.name }} — Garden{% endblock %} {% block content %} {{ featured_image_block('planting', planting.id, planting.featured_image_path, planting.name) }} {%- set year_options = [] -%} {%- for y in year_list -%}{%- set _ = year_options.append([y.id, y.year|string]) -%}{%- endfor -%}

{{ planting.year_value or '— year —' }}{{ planting.name }}

{{ archive_button('planting', planting.id, planting.is_archived, '/plantings/' ~ planting.id) }}
{{ planting.status or 'planted' }} {% for target in PLANTING_STATUSES if target != (planting.status or 'planted') %}
{% endfor %} Source: {{ planting.source or '— add —' }}

Overview history

{{ planting.notes or '+ add overview' }}

Plants{% if group_count %} ({{ group_count }} group{{ '' if group_count == 1 else 's' }}, {{ total_qty }} total){% endif %}

{% for p in plants %} {% set back_url = '/plantings/' ~ planting.id %}
{{ p.quantity or '1' }}× {% if p.variety_name %}{{ p.variety_name }}{% endif %} {% if p.species_name %}{{ p.species_name }}{% endif %} {% if not p.variety_name and not p.species_name %}TBD{% endif %} {% if p.status %}{{ p.status }}{% endif %} {% if p.notes %}overview{% endif %} open ›
{% if p.area_id %} {% if p.area_parent %}{{ p.area_parent }}{% endif %} {{ p.area_name }} {% endif %}
{% endfor %}
{{ render_comments(planting_comments, 'planting', planting.id, '/plantings/' ~ planting.id, include_children=include_children, include_related=include_related, supports_children=supports_children) }}
{% endblock %} {% block scripts %} {% endblock %}