{% load i18n %} {% load static %} {% load basefilters %}
{% trans "Announcement." %}
{% for anoun in announcements %}
{% if perms.base.change_announcement or perms.base.delete_announcement %}
{% endif %}

##### {{ anoun.title }} {% if perms.base.view_announcement %}
{{anoun.get_views|length}}
{% endif %}

{% trans "Posted on" %} {{ anoun.created_at|date:"F j, Y"}} {% trans "at" %} {{ anoun.created_at|time:"g:i A"}}

{{ anoun.description|safe }}

{% if anoun.department.all %}
{% trans "Department" %}
{% for dep in anoun.department.all %} #{{ dep.department }} {% endfor %}
{% endif %} {% if anoun.job_position.all %}
{% trans "Job Position" %}
{% for job in anoun.job_position.all %} #{{ job.job_position }} {% endfor %}
{% endif %}
{% endfor %}