@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>
