mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 09:46:06 +02:00
added code to break up text on modal
This commit is contained in:
parent
25b460c724
commit
e96da61d55
1 changed files with 2 additions and 2 deletions
|
@ -382,7 +382,7 @@ class DomainRequestWizard(DomainRequestWizardPermissionView, TemplateView):
|
||||||
text_domain_name = str(requested_domain_name) if requested_domain_name is not None else None
|
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:
|
if text_domain_name and len(text_domain_name) > 30:
|
||||||
text_domain_name = text_domain_name[:27] + "..."
|
text_domain_name = text_domain_name[:30] + "\n" + text_domain_name[30:]
|
||||||
|
|
||||||
context_stuff = {}
|
context_stuff = {}
|
||||||
if DomainRequest._form_complete(self.domain_request, self.request):
|
if DomainRequest._form_complete(self.domain_request, self.request):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue