{% load i18n %}

{% blocktrans %}You can add some constraints to obtain a better schedule. You can limit the total time passed by a given resource on tasks of a given type, or on the contrary ensures that any resource processes at least a certain number of tasks of another kind. {% endblocktrans %}

{% for obj in max_task_affectations %} {% include 'autoplanner/include/max_task_affectation.html' %} {% endfor %} {% with obj=new_max_task_affectation %} {% include 'autoplanner/include/max_task_affectation.html' %} {% endwith %}
  {% trans 'At most or at least…' %} {% trans 'this number…' %} {% trans 'of tasks of category…' %} {% trans 'within this period' %}  
{% for obj in max_time_affectations %} {% include 'autoplanner/include/max_time_affectation.html' %} {% endfor %} {% with obj=new_max_time_affectation %} {% include 'autoplanner/include/max_time_affectation.html' %} {% endwith %}
  {% trans 'At most or at least…' %} {% trans 'this time…' %} {% trans 'on tasks of category…' %} {% trans 'within this period' %}