Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ‘Your profile’ to ‘Your account’ #5174

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/main/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ def __init__(self, all_template_folders=None, disable_sms_auth=False, *args, **k
{
"hint": {
"text": "Not available because this team member has not added a "
"phone number to their profile"
"phone number to their account"
},
"disabled": True,
},
Expand Down
2 changes: 1 addition & 1 deletion app/navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def visible_header_nav(self):
nav_items.append(
{
"href": url_for("main.user_profile"),
"text": "Your profile",
"text": "Your account",
"active": self.is_selected("user-profile"),
}
)
Expand Down
4 changes: 2 additions & 2 deletions app/templates/views/user-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
{% from "govuk_frontend_jinja/components/summary-list/macro.html" import govukSummaryList %}

{% block per_page_title %}
Your profile
Your account
{% endblock %}

{% block maincolumn_content %}

<h1 class="heading-large">Your profile</h1>
<h1 class="heading-large">Your account</h1>

{% if can_see_edit %}
{% set email_address_row =
Expand Down
4 changes: 2 additions & 2 deletions tests/app/main/views/test_header_navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
("Features", ".guidance_features"),
("Pricing", ".guidance_pricing"),
("Using Notify", ".guidance_using_notify"),
("Your profile", ".user_profile"),
("Your account", ".user_profile"),
),
),
(
Expand All @@ -38,7 +38,7 @@
("Pricing", ".guidance_pricing"),
("Using Notify", ".guidance_using_notify"),
("Platform admin", ".platform_admin_search"),
("Your profile", ".user_profile"),
("Your account", ".user_profile"),
),
),
),
Expand Down