{% extends "admin/base_site.html" %} {% load i18n admin_modify adminmedia %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block title %}{% trans "Edit bookings" %}{% endblock %} {% block breadcrumbs %} {% if not is_popup %} {% endif %} {% endblock %} {% block bodyclass %}change-list{% endblock %} {% block content %}

{% trans "Edit bookings" %}

{% trans "Every provided input information will commited to the selected entries. If you don't provide a certain field, this value will be kept and no change comitted." %}

{% csrf_token %}
{% if form.errors %}

{% blocktrans count form.errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}

{{ form.non_field_errors }} {% endif %}

{% trans "Selected bookings" %} (Einblenden)

{% for booking in bookings %} {% endfor %}
{% trans "Id" %} {% trans "Project" %} {% trans "Step" %} {% trans "Date" %} {% trans "User" %} {% trans "Duration" %} {% trans "Activity" %}
{{ booking.id }} {{ booking.project }} {{ booking.step }} {{ booking.day.date }} {{ booking.day.user }} {{ booking.duration|format_minutes_to_time }} {{ booking.get_title|truncatewords:10 }}

{% trans "Contract" %}

{{ form.project.errors }} {{ form.project }}
{{ form.step.errors }} {{ form.step }}

{% trans "Working time" %}

{{ form.user.errors }} {{ form.user }}
{{ form.date.errors }} {{ form.date }}
{{ form.hours.errors }} {{ form.minutes.errors }} {{ form.hours }} {{ form.minutes }}

{% trans "Details" %}

{{ form.title.errors }} {{ form.title }}
{{ form.description.errors }} {{ form.description }}

{% trans "Issue" %}

{{ form.tracker.errors }} {{ form.tracker }}
{{ form.issue_no.errors }} {{ form.issue_no }}
{{ form.clear_issue.errors }} {{ form.clear_issue }}

{% trans "This will remove any issue references." %}

{% endblock %}