Skip to content

Commit

Permalink
Improve manage certificates message (#6324)
Browse files Browse the repository at this point in the history
  • Loading branch information
zivkan authored Aug 20, 2018
1 parent f2436a7 commit 0ac2f91
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/NuGetGallery/Views/Shared/_AccountCertificates.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@

@helper InformAboutOrgSettingsPage()
{
@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>)
if (Model.IsOrganization)
{
@ViewHelpers.AlertInfo(@<text>To manage certificates for your individual account, go to <a href="@Url.AccountSettings()">your account's settings page</a>.</text>)
}
else
{
@ViewHelpers.AlertInfo(@<text>To manage certificates for an organization, go to the <a href="@Url.ManageMyOrganizations()">organization's settings page</a>.</text>)
}
}

@ViewHelpers.Section(
Expand Down

0 comments on commit 0ac2f91

Please sign in to comment.