mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-12 12:39:43 +02:00
Add log to test on sandbox
This commit is contained in:
parent
b4cc21dc77
commit
0785880a7e
1 changed files with 2 additions and 1 deletions
|
@ -326,7 +326,8 @@ class DomainRequestWizard(TemplateView):
|
|||
# if pending requests exist and user does not have approved domains,
|
||||
# present message that domain request cannot be submitted
|
||||
pending_requests = self.pending_requests()
|
||||
if len(pending_requests) > 0 and not flag_is_active_for_user(self.request.user, "organization_feature"):
|
||||
if not flag_is_active_for_user(self.request.user, "organization_feature") and len(pending_requests) > 0:
|
||||
logger.debug("flag is active for user %s: %s" % self.request.user, flag_is_active_for_user(self.request.user, "organization_feature"))
|
||||
message_header = "You cannot submit this request yet"
|
||||
message_content = (
|
||||
f"<h4 class='usa-alert__heading'>{message_header}</h4> "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue