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 %}
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" }} |
{{ department.description }}
No employees in this department yet.
Add First Employee