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

Fixed stats formatting on home page when download or package count is 0 #543

Merged
merged 1 commit into from
Jul 9, 2012
Merged

Fixed stats formatting on home page when download or package count is 0 #543

merged 1 commit into from
Jul 9, 2012

Conversation

akoeplinger
Copy link
Contributor

When download/packages count is 0, the Json for the stats contains an empty string, which doesn't look good on the home page. I changed it to "n0" to be consistent with _ListPackage.cshtml#L30 which shows "0" when the download count is 0 :-)

These screenshots show the result of applying the fix:
Before:
After:

haacked added a commit that referenced this pull request Jul 9, 2012
Fixed stats formatting on home page when download or package count is 0
@haacked haacked merged commit 267c31d into NuGet:master Jul 9, 2012
joelverhagen pushed a commit that referenced this pull request Jul 30, 2024
* Test warning fixes

* Second round of fixes. No more xUnit warnings at all.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants