mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 17:28:31 +02:00
Merge remote-tracking branch 'origin/main' into rh/706-withdrawn-email-confirmation
This commit is contained in:
commit
65699d7436
16 changed files with 76 additions and 20 deletions
|
@ -580,6 +580,7 @@ ALLOWED_HOSTS = [
|
|||
"getgov-ab.app.cloud.gov",
|
||||
"getgov-bl.app.cloud.gov",
|
||||
"getgov-rjm.app.cloud.gov",
|
||||
"getgov-dk.app.cloud.gov",
|
||||
"get.gov",
|
||||
]
|
||||
|
||||
|
|
|
@ -79,6 +79,7 @@ class UserFixture:
|
|||
"username": "319c490d-453b-43d9-bc4d-7d6cd8ff6844",
|
||||
"first_name": "Rachid-Analyst",
|
||||
"last_name": "Mrad-Analyst",
|
||||
"email": "rachid.mrad@gmail.com",
|
||||
},
|
||||
{
|
||||
"username": "b6a15987-5c88-4e26-8de2-ca71a0bdb2cd",
|
||||
|
@ -129,6 +130,8 @@ class UserFixture:
|
|||
user.is_superuser = True
|
||||
user.first_name = admin["first_name"]
|
||||
user.last_name = admin["last_name"]
|
||||
if "email" in admin.keys():
|
||||
user.email = admin["email"]
|
||||
user.is_staff = True
|
||||
user.is_active = True
|
||||
user.save()
|
||||
|
@ -146,6 +149,8 @@ class UserFixture:
|
|||
user.is_superuser = False
|
||||
user.first_name = staff["first_name"]
|
||||
user.last_name = staff["last_name"]
|
||||
if "email" in admin.keys():
|
||||
user.email = admin["email"]
|
||||
user.is_staff = True
|
||||
user.is_active = True
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
{% if domainapplication.status == 'approved' %} Approved
|
||||
{% elif domainapplication.status == 'in review' %} In Review
|
||||
{% elif domainapplication.status == 'rejected' %} Rejected
|
||||
{% elif domainapplication.status == 'submitted' %} Received
|
||||
{% elif domainapplication.status == 'submitted' %} Submitted
|
||||
{% else %}ERROR Please contact technical support/dev
|
||||
{% endif %}
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue