Skip to content

Commit 0ac2f91

Browse files
authored
Improve manage certificates message (#6324)
1 parent f2436a7 commit 0ac2f91

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/NuGetGallery/Views/Shared/_AccountCertificates.cshtml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@
2929

3030
@helper InformAboutOrgSettingsPage()
3131
{
32-
@ViewHelpers.AlertInfo(@<text>To manage certificates for an organization, you would need to go to the <a href="@Url.ManageMyOrganizations()">organization's settings page</a>.</text>)
32+
if (Model.IsOrganization)
33+
{
34+
@ViewHelpers.AlertInfo(@<text>To manage certificates for your individual account, go to <a href="@Url.AccountSettings()">your account's settings page</a>.</text>)
35+
}
36+
else
37+
{
38+
@ViewHelpers.AlertInfo(@<text>To manage certificates for an organization, go to the <a href="@Url.ManageMyOrganizations()">organization's settings page</a>.</text>)
39+
}
3340
}
3441

3542
@ViewHelpers.Section(

0 commit comments

Comments
 (0)