Adding the HR navigation component to the department detail template. ``` ```html {% extends 'base.html' %} {% load static %} {% block title %}{{ department.name }} - Departments - HR - Optinet Global Links{% endblock %} {% block content %}
Department Information
Name: {{ department.name }}
Manager: {% if department.manager %} {{ department.manager.full_name }} {% else %} No manager assigned {% endif %}
User Group: {% if department.user_group %} {{ department.user_group.name }} {% else %} No group assigned {% endif %}
Status: {% if department.is_active %} Active {% else %} Inactive {% endif %}
Created: {{ department.created_at|date:"M d, Y" }}
{% if department.description %}
Description:

{{ department.description }}

{% endif %}
Department Employees ({{ employees.count }})
Add Employee
{% if employees %}
{% for employee in employees %} {% endfor %}
Employee ID Name Job Title Status Actions
{{ employee.employee_id }} {{ employee.full_name }} {{ employee.job_title }} {{ employee.get_employment_status_display }}
{% else %}

No employees in this department yet.

Add First Employee
{% endif %}
{% include 'hr/hr_nav.html' %}
{% endblock %}