mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37:03 +02:00
changing anything else page
This commit is contained in:
parent
7cd037999e
commit
fa72f413ab
10 changed files with 12 additions and 34 deletions
|
@ -434,7 +434,7 @@ class DomainInformationAdmin(ListHeaderAdmin):
|
||||||
"No other employees from your organization?",
|
"No other employees from your organization?",
|
||||||
{"fields": ["no_other_contacts_rationale"]},
|
{"fields": ["no_other_contacts_rationale"]},
|
||||||
),
|
),
|
||||||
("Anything else we should know? (optional)", {"fields": ["anything_else"]}),
|
("Anything else?", {"fields": ["anything_else"]}),
|
||||||
(
|
(
|
||||||
"Requirements for operating .gov domains",
|
"Requirements for operating .gov domains",
|
||||||
{"fields": ["is_policy_acknowledged"]},
|
{"fields": ["is_policy_acknowledged"]},
|
||||||
|
@ -569,7 +569,7 @@ class DomainApplicationAdmin(ListHeaderAdmin):
|
||||||
"No other employees from your organization?",
|
"No other employees from your organization?",
|
||||||
{"fields": ["no_other_contacts_rationale"]},
|
{"fields": ["no_other_contacts_rationale"]},
|
||||||
),
|
),
|
||||||
("Anything else we should know?", {"fields": ["anything_else"]}),
|
("Anything else?", {"fields": ["anything_else"]}),
|
||||||
(
|
(
|
||||||
"Requirements for operating .gov domains",
|
"Requirements for operating .gov domains",
|
||||||
{"fields": ["is_policy_acknowledged"]},
|
{"fields": ["is_policy_acknowledged"]},
|
||||||
|
|
|
@ -620,7 +620,7 @@ class NoOtherContactsForm(RegistrarForm):
|
||||||
class AnythingElseForm(RegistrarForm):
|
class AnythingElseForm(RegistrarForm):
|
||||||
anything_else = forms.CharField(
|
anything_else = forms.CharField(
|
||||||
required=False,
|
required=False,
|
||||||
label="Anything else we should know?",
|
label="Anything else?",
|
||||||
widget=forms.Textarea(),
|
widget=forms.Textarea(),
|
||||||
validators=[
|
validators=[
|
||||||
MaxLengthValidator(
|
MaxLengthValidator(
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Generated by Django 4.2.7 on 2023-11-29 02:47
|
# Generated by Django 4.2.7 on 2023-11-29 19:05
|
||||||
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
@ -12,11 +12,11 @@ class Migration(migrations.Migration):
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name="domainapplication",
|
model_name="domainapplication",
|
||||||
name="anything_else",
|
name="anything_else",
|
||||||
field=models.TextField(blank=True, help_text="Anything else we should know? (optional)", null=True),
|
field=models.TextField(blank=True, help_text="Anything else?", null=True),
|
||||||
),
|
),
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name="domaininformation",
|
model_name="domaininformation",
|
||||||
name="anything_else",
|
name="anything_else",
|
||||||
field=models.TextField(blank=True, help_text="Anything else we should know? (optional)", null=True),
|
field=models.TextField(blank=True, help_text="Anything else?", null=True),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
# Generated by Django 4.2.7 on 2023-11-29 16:51
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
dependencies = [
|
|
||||||
("registrar", "0050_alter_domainapplication_anything_else_and_more"),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name="domainapplication",
|
|
||||||
name="anything_else",
|
|
||||||
field=models.TextField(blank=True, help_text="Anything else we should know?", null=True),
|
|
||||||
),
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name="domaininformation",
|
|
||||||
name="anything_else",
|
|
||||||
field=models.TextField(blank=True, help_text="Anything else we should know?", null=True),
|
|
||||||
),
|
|
||||||
]
|
|
|
@ -543,7 +543,7 @@ class DomainApplication(TimeStampedModel):
|
||||||
anything_else = models.TextField(
|
anything_else = models.TextField(
|
||||||
null=True,
|
null=True,
|
||||||
blank=True,
|
blank=True,
|
||||||
help_text="Anything else we should know?",
|
help_text="Anything else?",
|
||||||
)
|
)
|
||||||
|
|
||||||
is_policy_acknowledged = models.BooleanField(
|
is_policy_acknowledged = models.BooleanField(
|
||||||
|
|
|
@ -190,7 +190,7 @@ class DomainInformation(TimeStampedModel):
|
||||||
anything_else = models.TextField(
|
anything_else = models.TextField(
|
||||||
null=True,
|
null=True,
|
||||||
blank=True,
|
blank=True,
|
||||||
help_text="Anything else we should know?",
|
help_text="Anything else?",
|
||||||
)
|
)
|
||||||
|
|
||||||
is_policy_acknowledged = models.BooleanField(
|
is_policy_acknowledged = models.BooleanField(
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{% load field_helpers %}
|
{% load field_helpers %}
|
||||||
|
|
||||||
{% block form_instructions %}
|
{% block form_instructions %}
|
||||||
<h2>Is there anything else we should know about your domain request? (optional)</h2>
|
<p>Is there anything else you'd like us to know about your domain request? This question is optional.</p>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block form_required_fields_help_text %}
|
{% block form_required_fields_help_text %}
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
|
|
||||||
{% include "includes/summary_item.html" with title='Other employees from your organization' value=domainapplication.other_contacts.all contact='true' list='true' heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='Other employees from your organization' value=domainapplication.other_contacts.all contact='true' list='true' heading_level=heading_level %}
|
||||||
|
|
||||||
{% include "includes/summary_item.html" with title='Anything else we should know' value=domainapplication.anything_else|default:"No" heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='Anything else?' value=domainapplication.anything_else|default:"No" heading_level=heading_level %}
|
||||||
|
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,6 +34,6 @@ Other employees from your organization:
|
||||||
{% for other in application.other_contacts.all %}
|
{% for other in application.other_contacts.all %}
|
||||||
{% spaceless %}{% include "emails/includes/contact.txt" with contact=other %}{% endspaceless %}
|
{% spaceless %}{% include "emails/includes/contact.txt" with contact=other %}{% endspaceless %}
|
||||||
{% endfor %}{% endif %}{% if application.anything_else %}
|
{% endfor %}{% endif %}{% if application.anything_else %}
|
||||||
Anything else we should know?
|
Anything else?
|
||||||
{{ application.anything_else }}
|
{{ application.anything_else }}
|
||||||
{% endif %}
|
{% endif %}
|
|
@ -85,7 +85,7 @@ class ApplicationWizard(ApplicationWizardPermissionView, TemplateView):
|
||||||
Step.YOUR_CONTACT: _("Your contact information"),
|
Step.YOUR_CONTACT: _("Your contact information"),
|
||||||
Step.OTHER_CONTACTS: _("Other employees from your organization"),
|
Step.OTHER_CONTACTS: _("Other employees from your organization"),
|
||||||
Step.NO_OTHER_CONTACTS: _("No other employees from your organization?"),
|
Step.NO_OTHER_CONTACTS: _("No other employees from your organization?"),
|
||||||
Step.ANYTHING_ELSE: _("Anything else we should know?"),
|
Step.ANYTHING_ELSE: _("Anything else?"),
|
||||||
Step.REQUIREMENTS: _("Requirements for operating .gov domains"),
|
Step.REQUIREMENTS: _("Requirements for operating .gov domains"),
|
||||||
Step.REVIEW: _("Review and submit your domain request"),
|
Step.REVIEW: _("Review and submit your domain request"),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue