{% extends 'safety/safety_base.html' %} {% load custom_tags_and_filters %} {% block title %}{{ safety_page_title }}{% endblock %} {% block safety_title %}{{ safety_page_title }}{% endblock %} {% block tab_content %} {% if safety_categories or safety_items %}
{% if not safety_items_expand_categories %} {% if safety_categories %}
{% endif %}
{% include 'safety/safety_items.html' %}
{% else %}
{% if safety_general %} {% include 'safety/safety_items.html' with safety_items=safety_general safety_category="General" %} {% endif %} {% for safety_category in safety_categories %} {% include 'safety/safety_items.html' with safety_items=safety_category.safetyitem_set.all %} {% endfor %}
{% endif %}
{% else %}

There are currently no safety items.

{% if user.is_superuser and "django.contrib.admin"|app_installed %}

Please go to Administration -> Detailed Administration -> SafetyItems

{% endif %} {% endif %} {% endblock %}