{% extends 'admin/detail_form.html' %} {% load i18n %} {% block content %}
{{ obj.name }} N. {{ obj.id }} {% trans 'of' %} {{ obj.date_create }} ({{ obj.percentage_done }}%)
{% trans 'Date' %} {{ obj.date_create }} {% trans 'Organization' %} {{ obj.organization }}
{% trans 'Description' %} {{ obj.description }}
{% trans 'Total Tickets' %} {{ obj.total_tickets }} {% trans 'Total Open Tickets' %} {{ obj.get_open_tickets }}
{% trans 'Total Assistances' %} {{ obj.get_total_assistances }} {% trans 'Total Work Hours' %} {{ obj.get_total_work_hours }}
{% for t in obj.tickets.all %} {% if t.assistances.all %} {% for a in t.assistances.all %} {% endfor %} {% endif %} {% endfor %} {% endblock %}
{% trans 'Ticket' %} N. {{ t.id }}: {{ t.title }}
{% trans 'Description' %} {% trans 'Date Begin' %} {% trans 'Date End' %} {% trans 'Duration' %} {% trans 'Worker' %}
{{ a.job_description|safe }} {{ a.date_begin }} {{ a.date_end }} {{ a.real_duration }} {{ a.worker }}