@model Disco.Web.Models.Device.ShowModel @{ ViewBag.Title = Html.ToBreadcrumb("Devices", MVC.Device.Index(), string.Format("{0} ({1})", Model.Device.ComputerName, Model.Device.SerialNumber)); Html.BundleDeferred("~/ClientScripts/Modules/Silverlight"); }
@if (!Model.Device.DecommissionedDate.HasValue) { }
Computer Name: @if (string.IsNullOrWhiteSpace(Model.Device.ComputerName)) { <Unknown/Not Allocated> } else { @Model.Device.ComputerName }
Asset Number: @Html.TextBoxFor(m => m.Device.AssetNumber) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader()
Location: @Html.TextBoxFor(m => m.Device.Location) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader()
Batch: @Html.DropDownListFor(m => m.Device.DeviceBatchId, Model.DeviceBatches) @AjaxHelpers.AjaxLoader()
Purchased: Supplier:
On:
Warranty: Valid Until: Insurance: Supplier:
Until:
Profile: @if (Model.Device.DecommissionedDate.HasValue) { @Model.Device.DeviceProfile.ToString() } else { @Html.DropDownListFor(m => m.Device.DeviceProfileId, Model.DeviceProfiles.ToSelectListItems(Model.Device.DeviceProfile)) @AjaxHelpers.AjaxLoader() }
Created: @CommonHelpers.FriendlyDate(Model.Device.CreatedDate)
Enrolment: First: @CommonHelpers.FriendlyDate(Model.Device.EnrolledDate) @if (Model.Device.AllowUnauthenticatedEnrol) {   } else {   }
Last: @CommonHelpers.FriendlyDate(Model.Device.LastEnrolDate)
Decommissioned: @CommonHelpers.FriendlyDate(Model.Device.DecommissionedDate)
Last Network Logon: @CommonHelpers.FriendlyDate(Model.Device.LastNetworkLogonDate) @if (!string.IsNullOrEmpty(Model.Device.ComputerName)) { }
Assigned User: @Html.TextBoxFor(m => m.Device.AssignedUser, new { userId = Model.Device.AssignedUserId }) @AjaxHelpers.AjaxRemove() @AjaxHelpers.AjaxLoader()
Show Assignment History ()

Are you sure?

Assigned User History

@Html.Partial(MVC.Device.Views._DeviceUserAssignmentHistoryTable, Model.Device)
Generate Documents: @Html.DropDownList("DocumentTemplates", Model.DocumentTemplatesSelectListItems)
Model Image

@Model.Device.DeviceModel.ToString()

Certificates

@Html.Partial(MVC.Device.Views._CertificateTable, Model.Certificates)

Attachments

@Html.Partial(MVC.Device.Views.DeviceParts.Resources, Model)

Jobs

@Html.Partial(MVC.Shared.Views._JobTable, Model.Jobs) @Html.Partial(MVC.Device.Views._DeviceActions, Model.Device)