Skip to content

Commit

Permalink
Change current version highlighting on package page (#6319)
Browse files Browse the repository at this point in the history
* remove current text
* remove bold
* add background color
  • Loading branch information
zivkan authored Aug 16, 2018
1 parent fb22bd5 commit 665daa6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/NuGetGallery/Views/Packages/DisplayPackage.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@
{
rowCount++;
@VersionListDivider(rowCount, versionsExpanded)
<tr>
<tr class="@(packageVersion.IsCurrent(Model) ? "bg-info" : null)">
<td class="signature-info-cell">
@if (Model.IsCertificatesUIEnabled && !string.IsNullOrEmpty(packageVersion.SignatureInformation))
{
Expand All @@ -471,13 +471,7 @@
</td>
<td>
<a href="@Url.Package(packageVersion)" title="@packageVersion.FullVersion">
<b>
@packageVersion.Version.Abbreviate(30)
@if (packageVersion.IsCurrent(Model))
{
@:(current)
}
</b>
</a>
</td>
<td>
Expand Down

0 comments on commit 665daa6

Please sign in to comment.