{% extends 'generic/_base.html' %} {% load buttons %} {% load helpers %} {% load perms %} {% load i18n %} {% block title %}{% trans "Scripts" %}{% endblock %} {% block tabs %}
{% endblock tabs %} {% block controls %} {% add_button model %} {% endblock controls %} {% block content %} {% for module in script_modules %} {% include 'inc/sync_warning.html' with object=module %}{% trans "Name" %} | {% trans "Description" %} | {% trans "Last Run" %} | {% trans "Status" %} | |||
---|---|---|---|---|---|---|
{% if script.is_executable %} {{ script.name }} {% else %} {{ script.name }} {% endif %} | {{ script.description|markdown|placeholder }} | {% if last_job %}{{ last_job.created|isodatetime }} | {% badge last_job.get_status_display last_job.get_status_color %} | {% else %}{% trans "Never" %} | {{ ''|placeholder }} | {% endif %}
{% if request.user|can_run:script and script.is_executable %}
|
{{ test_name }} | {{ data.success }} {{ data.info }} {{ data.warning }} {{ data.failure }} | |||||
{{ method }} | {{ stats.success }} {{ stats.info }} {{ stats.warning }} {{ stats.failure }} |