This commit is contained in:
Paul Schneider
2021-08-15 19:09:01 +01:00
parent 7da74b0dfb
commit 504f431937
67 changed files with 239 additions and 96 deletions

View File

@ -0,0 +1,37 @@
@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)
</dt>
<dd>
<a href="@Model.latest.NugetLink" >@Html.DisplayFor(model => model.latest.FullString)</a>
<a href="@Model.latest.NuspecLink" >nuspec</a>
</dd>
</dl>
</div>
<div>
@Html.ActionLink("Edit", "Edit", new { pkgid = Model.pkgid, version = Model.latest.FullString }) |
<a asp-action="Index">Back to List</a>
</div>