mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-12 20:49:41 +02:00
Cleanup PortfolioDomainRequestWizard
This commit is contained in:
parent
221e236775
commit
d6d63127d0
1 changed files with 2 additions and 14 deletions
|
@ -571,19 +571,7 @@ class DomainRequestWizard(DomainRequestWizardPermissionView, TemplateView):
|
||||||
|
|
||||||
# TODO - this is a WIP until the domain request experience for portfolios is complete
|
# TODO - this is a WIP until the domain request experience for portfolios is complete
|
||||||
class PortfolioDomainRequestWizard(DomainRequestWizard):
|
class PortfolioDomainRequestWizard(DomainRequestWizard):
|
||||||
TITLES: dict = {
|
is_portfolio = True
|
||||||
PortfolioDomainRequestStep.REQUESTING_ENTITY: _("Requesting entity"),
|
|
||||||
PortfolioDomainRequestStep.CURRENT_SITES: _("Current websites"),
|
|
||||||
PortfolioDomainRequestStep.DOTGOV_DOMAIN: _(".gov domain"),
|
|
||||||
PortfolioDomainRequestStep.PURPOSE: _("Purpose of your domain"),
|
|
||||||
PortfolioDomainRequestStep.ADDITIONAL_DETAILS: _("Additional details"),
|
|
||||||
PortfolioDomainRequestStep.REQUIREMENTS: _("Requirements for operating a .gov domain"),
|
|
||||||
}
|
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
super().__init__()
|
|
||||||
self.steps = StepsHelper(self)
|
|
||||||
self._domain_request = None # for caching
|
|
||||||
|
|
||||||
|
|
||||||
# Portfolio pages
|
# Portfolio pages
|
||||||
|
@ -981,7 +969,7 @@ class PortfolioDomainRequestStatusViewOnly(DomainRequestPortfolioViewonlyView):
|
||||||
wizard.request = self.request
|
wizard.request = self.request
|
||||||
context["Step"] = PortfolioDomainRequestStep.__members__
|
context["Step"] = PortfolioDomainRequestStep.__members__
|
||||||
context["steps"] = request_step_list(wizard, PortfolioDomainRequestStep)
|
context["steps"] = request_step_list(wizard, PortfolioDomainRequestStep)
|
||||||
context["form_titles"] = wizard.TITLES
|
context["form_titles"] = wizard.titles
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue