{% extends "construction/base.html" %} {% load static i18n crispy_forms_tags construction_tag %} {% block page_title %} {% get_work_type_list as WORK_TYPE_LIST %}

{{page_title}}

{% endblock page_title %} {% block content %}
{% if is_editor %} ADD WORK {% endif %}
{% if is_editor %} {% endif %} {% if is_editor %} {% endif %} {% autoescape off %} {% for work in works %} {% if is_editor %} {% endif %} {% empty %} {% endfor %} {% endautoescape %}
Title Type Zone Work DateAction
{{work.title}} {{work.type.title}} {% for zone in work.zone_list %} {{zone.name}} {% empty %} - {% endfor %} {% if work.work_date %} {{work.work_date|length}} {% if work.work_date|length == 1 %}day{% else %}days{% endif %} {% else %} - {% endif %} {% if is_editor %} {% endif %}
No Works
{% autoescape off %} {% for work in works %}
{{work.title}}

{{work.type.title}} {% for zone in work.zone_list %} {{zone.name}} {% endfor %}

{% if is_editor %}
{% endif %}
{% empty %}

No Works

{% endfor %} {% endautoescape %}
{% endblock content %} {% block modal %} {% if is_editor %} {% include 'construction/partials/work_update_modal.html' %} {% include 'construction/partials/add_work_date_modal.html' %} {% endif %} {% endblock modal %} {% block third_party %} {% include "base/load_datatable.html" %} {% endblock third_party %}