2021-08-15 19:09:01 +01:00
|
|
|
@model PackageDetailViewModel
|
|
|
|
|
|
|
|
|
|
@{
|
|
|
|
|
ViewData["Title"] = "Details";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<h2>Details</h2>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<h4>PackageVersion</h4>
|
|
|
|
|
<hr />
|
|
|
|
|
<dl class="dl-horizontal">
|
|
|
|
|
<dt>
|
|
|
|
|
@Html.DisplayNameFor(model => model.latest.IsPrerelease)
|
|
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
@Html.DisplayFor(model => model.latest.IsPrerelease)
|
|
|
|
|
</dd>
|
|
|
|
|
<dt>
|
|
|
|
|
@Html.DisplayNameFor(model => model.latest.PackageId)
|
|
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
@Html.DisplayFor(model => model.latest.PackageId)
|
|
|
|
|
</dd>
|
|
|
|
|
<dt>
|
|
|
|
|
@Html.DisplayNameFor(model => model.latest.FullString)
|
2022-06-18 15:44:06 +01:00
|
|
|
|
2021-08-15 19:09:01 +01:00
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
<a href="@Model.latest.NugetLink" >@Html.DisplayFor(model => model.latest.FullString)</a>
|
|
|
|
|
<a href="@Model.latest.NuspecLink" >nuspec</a>
|
2022-06-18 15:44:06 +01:00
|
|
|
<i class="extinfo">(version count : @Model.totalHits)</i>
|
2021-08-15 19:09:01 +01:00
|
|
|
</dd>
|
|
|
|
|
</dl>
|
2022-06-18 15:44:06 +01:00
|
|
|
<h4>Integration</h4>
|
|
|
|
|
<hr />
|
|
|
|
|
<pre>
|
|
|
|
|
<code
|
|
|
|
|
title="click pour copie"
|
|
|
|
|
onclick="navigator.clipboard.writeText(this.innerText);alert('copié')"><PackageReference Include="@Model.pkgid" Version="@Model.latest.FullString" /></code>
|
|
|
|
|
</pre>
|
2021-08-15 19:09:01 +01:00
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
@Html.ActionLink("Edit", "Edit", new { pkgid = Model.pkgid, version = Model.latest.FullString }) |
|
|
|
|
|
<a asp-action="Index">Back to List</a>
|
|
|
|
|
</div>
|