{% extends "ishtar/sheet.html" %} {% load i18n l10n window_field from_dict link_to_window window_tables window_ope_tables window_header humanize %} {% block head_title %}{% trans "Treatment" %} - {{ item.cached_label|default:"" }}{% endblock %} {% block toolbar %} {% window_nav item window_id 'show-treatment' 'treatment_modify' 'show-historized-treatment' 'revert-treatment' previous next 1 %} {% endblock %} {% block content %}
{% with has_image=item.images_number %}{{ item.label|default:"" }}
{% if item.other_reference %}{{ item.other_reference }}
{% endif %}{{ item.year|unlocalize }} - {{ item.index|unlocalize }}
{% if item.external_id %}{{ item.external_id }}
{% endif %} {% if item.end_date %}{% trans "Closed" context "Treatment" %} ({{item.end_date}})
{% else %}{% trans "Active" context "Treatment" %}
{% endif %}" "" %} {% field_flex_full "Description" item.description "
" "" %} {% field_flex_full "Goal" item.goal "
" "" %} {% include "ishtar/blocks/sheet_json.html" %}