{% extends 'base.html' %} {% load ui_extras %} {% block content %}

File categor{{ file_category_count|pluralize:"y,ies" }} ({{ file_category_count }})

{% if perms.osquery.add_filecategory %} {% url 'osquery:create_file_category' as url %} {% button 'CREATE' url "Create new File Category" %} {% endif %}
{% if object_list %} {% if perms.osquery.change_filecategory %} {% endif %} {% for file_category in object_list %} {% if perms.osquery.change_filecategory %} {% endif %} {% endfor %}
Name
{{ file_category }} {% url 'osquery:update_file_category' file_category.id as url %} {% button 'UPDATE' url "Edit File Category" %}
{% else %} {% if perms.osquery.add_filecategory %} {% url 'osquery:create_file_category' as link %} {% no_entities 'File categories' link %} {% else %} {% no_entities 'File categories' %} {% endif %} {% endif %} {% endblock %}