mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-28 12:03:53 +02:00
use id instead of session for domain requests
This commit is contained in:
parent
e19923f86f
commit
aa930eb77c
16 changed files with 46 additions and 59 deletions
|
@ -53,7 +53,7 @@ class UserProfileView(UserProfilePermissionView, FormMixin):
|
|||
context = super().get_context_data(**kwargs)
|
||||
|
||||
# Set the profile_back_button_text based on the redirect parameter
|
||||
if kwargs.get("redirect") == "domain-request:":
|
||||
if kwargs.get("redirect") == "domain-request:start":
|
||||
context["profile_back_button_text"] = "Go back to your domain request"
|
||||
else:
|
||||
context["profile_back_button_text"] = "Go to manage your domains"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue