Skip to content

Commit

Permalink
Use (short) version string in package version history (#6159)
Browse files Browse the repository at this point in the history
  • Loading branch information
zivkan authored Aug 2, 2018
1 parent c6d1c0b commit 2e99a85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/NuGetGallery/Views/Packages/DisplayPackage.cshtml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

@using NuGet.Services.Validation;

@model DisplayPackageViewModel
Expand Down Expand Up @@ -471,7 +472,7 @@
<td>
<a href="@Url.Package(packageVersion)" title="@packageVersion.FullVersion">
<b>
@packageVersion.FullVersion.Abbreviate(30)
@packageVersion.Version.Abbreviate(30)
@if (packageVersion.IsCurrent(Model))
{
@:(current)
Expand Down Expand Up @@ -517,7 +518,7 @@
@VersionListDivider(rowCount, versionsExpanded)
<tr class="deleted">
<td class="version" colspan="2">
@packageVersion.FullVersion (deleted)
@packageVersion.Version (deleted)
</td>
<td>
@packageVersion.DownloadCount
Expand Down

0 comments on commit 2e99a85

Please sign in to comment.