diff --git a/pms/templates/okr/emp_objective/emp_objective_list.html b/pms/templates/okr/emp_objective/emp_objective_list.html index 304a83556..cbfbf1cf4 100644 --- a/pms/templates/okr/emp_objective/emp_objective_list.html +++ b/pms/templates/okr/emp_objective/emp_objective_list.html @@ -22,12 +22,14 @@ {{emp_objective.employee_id}} + {% if emp_objective.employee_key_result.first %}
{{emp_objective.progress_percentage}} %
+ {% endif %}
{% if request.user|is_reportingmanager or perms.pms.add_employeeobjective %} diff --git a/pms/templates/okr/okr_list.html b/pms/templates/okr/okr_list.html index ae7339254..d7f3d6b3c 100644 --- a/pms/templates/okr/okr_list.html +++ b/pms/templates/okr/okr_list.html @@ -425,7 +425,7 @@
- {% for kr in objective.employee_key_result.all %} + {% for kr in objective.key_result_id.all %}
@@ -441,7 +441,7 @@
{% endfor %} - {{objective.employee_key_result.all|length}} {% trans "Key results" %} + {{objective.key_result_id.all|length}} {% trans "Key results" %}