mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Update image descriptions, add examples
This commit is contained in:
parent
7fbe01352f
commit
39ce0ade6d
@ -0,0 +1,22 @@
|
||||
# Generated by Django 2.2.16 on 2021-05-12 20:08
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('main', '0141_remove_isolated_instances'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='executionenvironment',
|
||||
name='image',
|
||||
field=models.CharField(
|
||||
help_text='The full image location, including the container registry, image name, and version tag.',
|
||||
max_length=1024,
|
||||
verbose_name='image location',
|
||||
),
|
||||
),
|
||||
]
|
||||
@ -30,7 +30,7 @@ class ExecutionEnvironment(CommonModel):
|
||||
image = models.CharField(
|
||||
max_length=1024,
|
||||
verbose_name=_('image location'),
|
||||
help_text=_("The registry location where the container is stored."),
|
||||
help_text=_("The full image location, including the container registry, image name, and version tag."),
|
||||
)
|
||||
managed_by_tower = models.BooleanField(default=False, editable=False)
|
||||
credential = models.ForeignKey(
|
||||
|
||||
@ -100,7 +100,22 @@ function ExecutionEnvironmentFormFields({
|
||||
type="text"
|
||||
validate={required(null)}
|
||||
isRequired
|
||||
tooltip={t`The registry location where the container is stored.`}
|
||||
tooltip={
|
||||
<span>
|
||||
{t`The full image location, including the container registry, image name, and version tag.`}
|
||||
<br />
|
||||
<br />
|
||||
{t`Examples:`}
|
||||
<ul css="margin: 10px 0 10px 20px">
|
||||
<li>
|
||||
<code>quay.io/ansible/awx-ee:latest</code>
|
||||
</li>
|
||||
<li>
|
||||
<code>repo/project/image-name:tag</code>
|
||||
</li>
|
||||
</ul>
|
||||
</span>
|
||||
}
|
||||
/>
|
||||
<FormGroup
|
||||
fieldId="execution-environment-container-options"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user