{% extends "base.html.twig" %} {% block title %}{{ 'job.edit.title' | trans }}{% endblock %} {% block content %}

{{ 'job.edit.header' | trans({'_jobname_': (job.name | parsetags) }) | raw }}

{{ 'job.addedit.generalinfo.header' | trans }}

{{ 'job.addedit.generalinfo.name.helptext' | trans }}
{{ 'job.addedit.generalinfo.lastrun.eternal.label' | trans }}
{{ 'job.addedit.generalinfo.retention.helptext' | trans }}
{% if attribute(job.data, 'fail-pct') is defined %}{{ attribute(job.data, 'fail-pct') }}{% else %}50{% endif %}%
{{ 'job.addedit.generalinfo.hostlabel.helptext' | trans }}

Job details

{% if job.data.crontype == 'reboot' %}
{% endif %}

{{ "job.addedit.crontype.command.header"| trans }}

{{ "job.addedit.crontype.reboot.header" | trans }}

{{ "job.addedit.crontype.reboot.reboot.command.helptext" | trans }}
{{ "job.addedit.crontype.reboot.reboot.delay.helptext" | trans }}
{{ "job.addedit.crontype.reboot.reboot.duration.helptext" | trans }}

{{ "job.addedit.crontype.http.header" | trans }}

{{ "job.addedit.crontype.http.basic-auth.password.helptext" | trans }}

{{ "job.addedit.hosttype.local.header" | trans }}

{{ "job.addedit.hosttype.local.nodetails" | trans }}

{{ "job.addedit.hosttype.ssh.header" | trans }}

{{ "job.addedit.hosttype.ssh.privatekey.keep.label" | trans }}
{{ "job.addedit.hosttype.ssh.privatekey.helptext" | trans }}
{{ "job.addedit.hosttype.ssh.passphrase.helptext" | trans }}

{{ "job.addedit.containertype.docker.header" | trans }}

{{ "job.addedit.variables.header" | trans }}

{{ "job.addedit.variables.secret.label" | trans }}
{% set key = 1 %} {% if job.data.vars is defined %} {% for id,var in job.data.vars %}
{{ "job.addedit.variables.secret.label" | trans }}
{% endfor %} {% endif %}

{{ "job.addedit.variables.helptext" | trans }}

{{ "job.addedit.variables.add.label" | trans }}
{% endblock %} {% block styles %} {{ encore_entry_link_tags('job.add') }} {% endblock %} {% block scripts %} {{ encore_entry_script_tags('job.add') }} {% endblock %}