{% extends "fpr/app_layout.html" %} {% load i18n %} {% block title %}{{ block.super }} - {% blocktrans with description=idtool.description %}Identification tool {{ description }}{% endblocktrans %}{% endblock title %} {% block page_title %}{% blocktrans with description=idtool.description %}Identification tool {{ description }}{% endblocktrans %}{% endblock page_title %} {% block breadcrumbs %} {{ block.super }}
  • {% trans "Identification tools" %}
  • {{ idtool.description }}
  • {% endblock breadcrumbs %} {% block app_content %}
    {% include 'fpr/_sidebar.html' %}
    {% trans "UUID" %}
    {{ idtool.uuid }}
    {% trans "Description" %}
    {{ idtool.description }}
    {% trans "Version" %}
    {{ idtool.version }}
    {% trans "Enabled" %}
    {{ idtool.enabled|yesno:_('Yes,No') }}
    {% if request.user.is_superuser %}
    {% trans "Actions" %}
    {% trans "Edit" %}
    {% endif %}

    {% trans "Commands" %}

    {% if request.user.is_superuser %}

    {% trans "Create new command" %}

    {% endif %} {% if idcommands %} {% for command in idcommands %} {% endfor %}
    {% trans "Configuration" %} {% trans "Identifier" %} {% trans "Command" %} {% trans "Enabled" %} {% trans "Actions" %}
    {{ command.get_config_display }} {{ command.description }} {{ command.script|truncatechars:100 }} {{ command.enabled|yesno:_('Yes,No') }} {% trans "View" %} {% if request.user.is_superuser %} | {% trans "Replace" %} | {% trans "Disable" %} {% endif %}
    {% else %}

    {% blocktrans with description=idtool.description %} No commands exist for {{ description }}. {% endblocktrans %}

    {% endif %}
    {% endblock app_content %}