mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Merge pull request #6951 from rooftopcellist/diff_help_text
Add help_text for diff mode
This commit is contained in:
commit
e6c004babb
@ -331,16 +331,6 @@ class Migration(migrations.Migration):
|
||||
name='timeout',
|
||||
field=models.IntegerField(default=0, help_text='The amount of time (in seconds) to run before the task is canceled.', blank=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='job',
|
||||
name='diff_mode',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='jobtemplate',
|
||||
name='diff_mode',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='adhoccommand',
|
||||
name='diff_mode',
|
||||
@ -351,4 +341,14 @@ class Migration(migrations.Migration):
|
||||
name='ask_diff_mode_on_launch',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='job',
|
||||
name='diff_mode',
|
||||
field=models.BooleanField(default=False, help_text='If enabled, textual changes made to any templated files on the host are shown in the standard output'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='jobtemplate',
|
||||
name='diff_mode',
|
||||
field=models.BooleanField(default=False, help_text='If enabled, textual changes made to any templated files on the host are shown in the standard output'),
|
||||
),
|
||||
]
|
||||
|
||||
@ -62,6 +62,7 @@ class JobOptions(BaseModel):
|
||||
|
||||
diff_mode = models.BooleanField(
|
||||
default=False,
|
||||
help_text=_("If enabled, textual changes made to any templated files on the host are shown in the standard output"),
|
||||
)
|
||||
job_type = models.CharField(
|
||||
max_length=64,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user