{% load i18n %} {% load static %} {% load basefilters %} {% include 'filter_tags.html' %} {% comment %}
{% trans "At Risk" %} {% trans "Not Started" %} {% trans "Closed" %}
{% endcomment %} {% if not request.GET.dashboard %} {% comment %}
{% trans "Select All Objectives" %}
{% trans "Unselect All Objectives" %}
{% endcomment %} {% comment %} {% endcomment %} {% endif %}
{% if objectives %}
{% trans "Title" %}
{% trans "Managers" %}
{% trans "Key Results" %}
{% trans "Assignees" %}
{% trans "Duration" %}
{% trans "Description" %}
{% if perms.pms.add_employeeobjective or perms.pms.change_objective or perms.pms.delete_objective %}
{% trans "Actions" %}
{% endif %}
{% for objective in objectives %}
{{objective}}
{% for manager in objective.managers.all %}
Baby C.
{{manager.employee_first_name|truncatechars:15}}
{% if perms.pms.change_objective %} {% endif %}
{% endfor %} {{objective.managers.all|length}} {% trans "Managers" %}
{% for kr in objective.key_result_id.all %}
Baby C.
{{kr|truncatechars:15}}
{% if "perms.pms.delete_keyresult" %} {% endif %}
{% endfor %} {{objective.key_result_id.all|length}} {% trans "Key results" %}
{% for emp_objective in objective.employee_objective.all %}
Baby C.
{{emp_objective.employee_id|truncatechars:15}}
{% endfor %} {{ objective.employee_objective.all|length}} {% trans "Assignees" %}
{{objective.duration}} {{objective.get_duration_unit_display}}
{{objective.description}}
{% if perms.pms.add_employeeobjective or perms.pms.change_objective or perms.pms.delete_objective %}
{% if perms.pms.add_employeeobjective %} {% endif %} {% if perms.pms.change_objective %} {% endif %} {% comment %} {% endcomment %} {% if perms.pms.delete_objective %} {% if objective.archive %}
{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %} {% endif %} {% if perms.pms.delete_objective %}
{% csrf_token %}
{% endif %}
{% endif %}
{% endfor %}
{% trans "Page" %} {{ objectives.number }} {% trans "of" %} {{ objectives.paginator.num_pages }}.
{% else %}
{% trans "No search result found!" %}
{% endif %}
{% comment %} {% for objective in own_objectives %} {{objective}} {% endfor %} {% endcomment %} {% if own_objectives %}
{% trans "Title" %}
{% trans "Managers" %}
{% trans "Key Results" %}
{% trans "Duration" %}
{% trans "Description" %}
{% if perms.pms.change_objective or perms.pms.delete_objective %}
{% trans "Actions" %}
{% endif %}
{% for objective in own_objectives %}
{{objective.objective_id}}
{% for manager in objective.objective_id.managers.all %}
Baby C.
{{manager.employee_first_name|truncatechars:15}}
{% endfor %} {{objective.objective_id.managers.all|length}} {% trans "Managers" %}
{% for kr in objective.employee_key_result.all %}
Baby C.
{{kr|truncatechars:15}}.
{% endfor %} {{objective.employee_key_result.all|length}}{% trans "Key results" %}
{{objective.objective_id.duration}}
{{objective.objective_id.description}}
{% if perms.pms.change_objective or perms.pms.delete_objective %}
{% if perms.pms.change_objective %} {% endif %} {% if perms.pms.delete_objective %} {% if objective.archive %}
{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %} {% endif %} {% if perms.pms.delete_objective %}
{% csrf_token %}
{% endif %}
{% endif %}
{% endfor %}
{% trans "Page" %} {{ own_objectives.number }} {% trans "of" %} {{ own_objectives.paginator.num_pages }}.
{% else %}
{% trans "No search result found!" %}
{% endif %}