{% extends 'generic/object.html' %} {% load helpers %} {% load static %} {% block style %} {% endblock %} {% block buttons %} {% if perms.netbox_toolkit.change_command %} Edit {% endif %} {% if perms.netbox_toolkit.delete_command %} Delete {% endif %} {% endblock %} {% block content %}

Command

Name {{ object.name }}
Platform {{ object.platform|linkify }}
Command Type {{ object.get_command_type_display }} {% if can_execute %} Executable {% else %} No Execute Permission {% endif %}
Description {{ object.description|placeholder }}
{% include 'inc/panels/custom_fields.html' %} {% include 'inc/panels/tags.html' %}

Command Detail

{{ object.command }}

Recent Command Logs

{% for log in object.logs.all|slice:":5" %} {% empty %} {% endfor %}
Device Username Execution Time
{{ log.device|linkify }} {{ log.username }} {{ log.execution_time }}
No command executions recorded
{% endblock %}