Skip to content

Commit 0ab8e15

Browse files
tstivers1990javiercn
authored andcommitted
[Fixes #1866] Fix ActivePage declarations
* Fix missing activepage declarations * Change activepage declarations to correct values * Add missing ActivePage
1 parent 3eae930 commit 0ab8e15

File tree

6 files changed

+6
-2
lines changed

6 files changed

+6
-2
lines changed

src/UI/Areas/Identity/Pages/Account/Manage/ChangePassword.cshtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@model ChangePasswordModel
33
@{
44
ViewData["Title"] = "Change password";
5+
ViewData["ActivePage"] = ManageNavPages.ChangePassword;
56
}
67

78
<h4>@ViewData["Title"]</h4>

src/UI/Areas/Identity/Pages/Account/Manage/DeletePersonalData.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@model DeletePersonalDataModel
33
@{
44
ViewData["Title"] = "Delete Personal Data";
5-
ViewData["ActivePage"] = ManageNavPages.DeletePersonalData;
5+
ViewData["ActivePage"] = ManageNavPages.PersonalData;
66
}
77

88
<h4>@ViewData["Title"]</h4>

src/UI/Areas/Identity/Pages/Account/Manage/DownloadPersonalData.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@model DownloadPersonalDataModel
33
@{
44
ViewData["Title"] = "Download Your Data";
5-
ViewData["ActivePage"] = ManageNavPages.DownloadPersonalData;
5+
ViewData["ActivePage"] = ManageNavPages.PersonalData;
66
}
77

88
<h4>@ViewData["Title"]</h4>

src/UI/Areas/Identity/Pages/Account/Manage/ExternalLogins.cshtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@model ExternalLoginsModel
33
@{
44
ViewData["Title"] = "Manage your external logins";
5+
ViewData["ActivePage"] = ManageNavPages.ExternalLogins;
56
}
67

78
@Html.Partial("_StatusMessage", Model.StatusMessage)

src/UI/Areas/Identity/Pages/Account/Manage/Index.cshtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@model IndexModel
33
@{
44
ViewData["Title"] = "Profile";
5+
ViewData["ActivePage"] = ManageNavPages.Index;
56
}
67

78
<h4>@ViewData["Title"]</h4>

src/UI/Areas/Identity/Pages/Account/Manage/TwoFactorAuthentication.cshtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@model TwoFactorAuthenticationModel
33
@{
44
ViewData["Title"] = "Two-factor authentication (2FA)";
5+
ViewData["ActivePage"] = ManageNavPages.TwoFactorAuthentication;
56
}
67

78
@Html.Partial("_StatusMessage", Model.StatusMessage)

0 commit comments

Comments
 (0)