{% extends 'base.html' %} {% load bootstrap inventory_extras %} {% block content %}
| Attribute | Value |
|---|---|
| Query |
|
| Validity | {{ object.valid_from }} → {% if object.valid_until %}{{ object.valid_until }}{% endif %} |
| Serial number{{ object.serial_numbers|length|pluralize }} | {{ object.serial_numbers|default:"-"|join:", " }} |
| Tag{{ object.tags.count|pluralize }} | {% for tag in object.tags.all %}{% inventory_tag tag %}{% empty %}-{% endfor %} |
| Shard | {{ object.shard }}% |
{% if perms.osquery.change_distributedquery %} Update {% endif %} {% if perms.osquery.delete_distributedquery %} Delete {% endif %}