{% trans "At Risk" %}
{% trans "Not Started" %}
{% trans "Behind" %}
{% trans "Closed" %}
{% trans "On Track" %}
{% endcomment %}
{% if not request.GET.dashboard %}
{% comment %}
{% trans "Select All Objectives" %}
{% trans "Unselect All Objectives" %}
{% endcomment %}
{% comment %}
{% trans "Export Objectives" %}
{% endcomment %}
{% endif %}
{% trans "Self Objective" %}
{{own_objectives.paginator.count}}
{% if perms.pms.view_objective or manager or reporting_manager %}
{% trans "All Objective" %}
{{objectives.paginator.count}}
{% if perms.pms.add_objectives %}
{% endif %}
{% endif %}
{% if objectives %}
{% trans "Title" %}
{% trans "Managers" %}
{% trans "Key Results" %}
{% if perms.pms.view_objective or manager or reporting_manager %}
{% trans "Assignees" %}
{% endif %}
{% 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 %}
{{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 %}
{{kr|truncatechars:15}}
{% if "perms.pms.delete_keyresult" %}
{% endif %}
{% endfor %}
{{objective.key_result_id.all|length}} {% trans "Key results" %}
{% if perms.pms.view_objective or manager or reporting_manager %}
{% for emp_objective in objective.employee_objective.all %}
{% if request.user.employee_get not in objective.managers.all and reporting_manager %}
{% if emp_objective.employee_id in subordinates %}