{% extends 'base.html' %}{% block title %}Policies{% endblock %}{% block content %}

Company Policies

Read and acknowledge policies. HR sees who has not yet acknowledged.

{% if is_hr %}
+ Publish a policy
{% endif %} {% for p in rows %}{% set n, mine, miss = info[p.id] %}

{{p.title}}

{{p.category}} · published {{p.created}}
{% if g.emp %}{% if mine %}Acknowledged ✓{% else %}
{% endif %}{% endif %}

{{p.body}}

{% if is_hr %}
Acknowledged by {{n}} of {{total}}{% if miss %} · pending: {{ miss|join(', ') }}{% endif %}
{% endif %}
{% else %}
No policies published yet.
{% endfor %}{% endblock %}