@model IEnumerable
@if (Model.Count() > 0) { @foreach (var item in Model) { }
Name Enabled Allocated Expires
@Html.ActionLink(item.Name, MVC.API.DeviceCertificate.Download(item.Id)) @item.Enabled @CommonHelpers.FriendlyDate(item.AllocatedDate) @CommonHelpers.FriendlyDate(item.ExpirationDate)
} else { No Certificates Allocated }