mirror of
https://github.com/ansible/awx.git
synced 2026-03-15 07:57:29 -02:30
Adding help text to various job fields
This commit is contained in:
@@ -431,6 +431,7 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
|
|||||||
blank=True,
|
blank=True,
|
||||||
default='',
|
default='',
|
||||||
editable=False,
|
editable=False,
|
||||||
|
help_text=_("The Tower node the job executed on."),
|
||||||
)
|
)
|
||||||
notifications = models.ManyToManyField(
|
notifications = models.ManyToManyField(
|
||||||
'Notification',
|
'Notification',
|
||||||
@@ -456,16 +457,19 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
|
|||||||
null=True,
|
null=True,
|
||||||
default=None,
|
default=None,
|
||||||
editable=False,
|
editable=False,
|
||||||
|
help_text=_("The date and time the job was queued for starting."),
|
||||||
)
|
)
|
||||||
finished = models.DateTimeField(
|
finished = models.DateTimeField(
|
||||||
null=True,
|
null=True,
|
||||||
default=None,
|
default=None,
|
||||||
editable=False,
|
editable=False,
|
||||||
|
help_text=_("The date and time the job finished execution."),
|
||||||
)
|
)
|
||||||
elapsed = models.DecimalField(
|
elapsed = models.DecimalField(
|
||||||
max_digits=12,
|
max_digits=12,
|
||||||
decimal_places=3,
|
decimal_places=3,
|
||||||
editable=False,
|
editable=False,
|
||||||
|
help_text=_("Elapsed time in seconds that the job ran."),
|
||||||
)
|
)
|
||||||
job_args = models.TextField(
|
job_args = models.TextField(
|
||||||
blank=True,
|
blank=True,
|
||||||
@@ -487,6 +491,7 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
|
|||||||
blank=True,
|
blank=True,
|
||||||
default='',
|
default='',
|
||||||
editable=False,
|
editable=False,
|
||||||
|
help_text=_("A status field to indicate the state of the job if it wasn't able to run and capture stdout"),
|
||||||
)
|
)
|
||||||
start_args = models.TextField(
|
start_args = models.TextField(
|
||||||
blank=True,
|
blank=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user