{% extends 'generic/object.html' %} {% load helpers %} {% load i18n %} {% block extra_controls %} {% if is_runnable %} {% trans "Run" %} {% endif %} {% endblock extra_controls %} {% block content %}
| {% trans "Name" %} | {{ object.name }} |
|---|---|
| {% trans "Slug" %} | {{ object.slug }} |
| {% trans "Status" %} | {% badge object.get_status_display %} |
| {% trans "Description" %} | {{ object.description|placeholder }} |
| {% trans "Target" %} | {{ object.target|placeholder }} |
| {% trans "Registered in code" %} | {% if is_runnable %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %} |
| {% trans "Repository" %} |
{% if object.git_repo %}
{{ object.git_repo.name }}
{{ object.git_repo.url }}
{% else %}
—
{% endif %}
|
|---|---|
| {% trans "Branch" %} | {% if object.git_branch %} {{ object.git_branch }} {% else %} — {% endif %} |
| {% trans "Credential" %} | {% if object.git_repo and object.git_repo.credential %} {{ object.git_repo.credential }} {% else %} {% trans "None" %} {% endif %} |
| {% trans "Directory" %} |
{% if object.local_source %}
{{ object.local_source.name }}
{{ object.local_source.path }}
{% else %}
—
{% endif %}
|
|---|
| # | {% trans "Key" %} | {% trans "Name" %} | {% trans "Description" %} |
|---|---|---|---|
| {{ forloop.counter }} | {{ s.key }} |
{{ s.name }} | {{ s.description|default:"-" }} |
{{ object.definition|pprint }}