mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 11:16:07 +02:00
trying it via styling
This commit is contained in:
parent
60dac00914
commit
d86a676f4f
2 changed files with 2 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
<div class="usa-modal__content">
|
||||
<div class="usa-modal__main">
|
||||
<h2 class="usa-modal__heading" id="modal-1-heading">
|
||||
<h2 class="usa-modal__heading domain-name-wrap" id="modal-1-heading">
|
||||
{{ modal_heading }}
|
||||
{% if heading_value is not None %}
|
||||
{# Add a breakpoint #}
|
||||
|
|
|
@ -379,11 +379,6 @@ class DomainRequestWizard(DomainRequestWizardPermissionView, TemplateView):
|
|||
if self.domain_request.requested_domain is not None:
|
||||
requested_domain_name = self.domain_request.requested_domain.name
|
||||
|
||||
text_domain_name = str(requested_domain_name) if requested_domain_name is not None else None
|
||||
|
||||
if text_domain_name and len(text_domain_name) > 30:
|
||||
text_domain_name = text_domain_name[:30] + "\n" + text_domain_name[30:]
|
||||
|
||||
context_stuff = {}
|
||||
if DomainRequest._form_complete(self.domain_request, self.request):
|
||||
modal_button = '<button type="submit" ' 'class="usa-button" ' ">Submit request</button>"
|
||||
|
@ -394,7 +389,7 @@ class DomainRequestWizard(DomainRequestWizardPermissionView, TemplateView):
|
|||
"visited": self.storage.get("step_history", []),
|
||||
"is_federal": self.domain_request.is_federal(),
|
||||
"modal_button": modal_button,
|
||||
"modal_heading": "You are about to submit a domain request for " + text_domain_name,
|
||||
"modal_heading": "You are about to submit a domain request for " + str(self.domain_request.name),
|
||||
"modal_description": "Once you submit this request, you won’t be able to edit it until we review it.\
|
||||
You’ll only be able to withdraw your request.",
|
||||
"review_form_is_complete": True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue