diff --git a/Disco.Services/Jobs/Noticeboards/HeldDeviceItem.cs b/Disco.Services/Jobs/Noticeboards/HeldDeviceItem.cs index 6c9b85c3..c463cf7b 100644 --- a/Disco.Services/Jobs/Noticeboards/HeldDeviceItem.cs +++ b/Disco.Services/Jobs/Noticeboards/HeldDeviceItem.cs @@ -1,7 +1,6 @@ using Disco.Data.Configuration.Modules; using Disco.Models.Repository; using Disco.Models.Services.Jobs.Noticeboards; -using Disco.Services.Interop.ActiveDirectory; using System; using System.Collections.Generic; using System.Linq; @@ -20,6 +19,7 @@ namespace Disco.Services.Jobs.Noticeboards { return DeviceComputerName == null ? null : UserExtensions.FriendlyUserId(DeviceComputerName); } + set { } // for XML Serialization } public string DeviceComputerName { get; set; } @@ -40,6 +40,7 @@ namespace Disco.Services.Jobs.Noticeboards return sb.ToString(); } + set { } // for XML Serialization } public int DeviceProfileId { get; set; } @@ -58,6 +59,7 @@ namespace Disco.Services.Jobs.Noticeboards return null; } + set { } // for XML Serialization } public string UserId { get; set; } @@ -67,6 +69,7 @@ namespace Disco.Services.Jobs.Noticeboards { return UserId == null ? null : UserExtensions.FriendlyUserId(UserId); } + set { } // for XML Serialization } public string UserDisplayName { get; set; } @@ -78,6 +81,7 @@ namespace Disco.Services.Jobs.Noticeboards { return WaitingForUserActionSince.ToUnixEpoc(); } + set { } // for XML Serialization } public bool ReadyForReturn { get; set; } @@ -88,6 +92,7 @@ namespace Disco.Services.Jobs.Noticeboards { return EstimatedReturnTime.ToUnixEpoc(); } + set { } // for XML Serialization } public DateTime? ReadyForReturnSince { get; set; } @@ -97,6 +102,7 @@ namespace Disco.Services.Jobs.Noticeboards { return ReadyForReturnSince.ToUnixEpoc(); } + set { } // for XML Serialization } public bool IsAlert @@ -111,6 +117,7 @@ namespace Disco.Services.Jobs.Noticeboards return false; } + set { } // for XML Serialization } internal static IEnumerable FromJobs(IQueryable jobs) diff --git a/Disco.Web/ClientSource/Style/Public/UserHeldDevicesXml_Sharepoint.xslt b/Disco.Web/ClientSource/Style/Public/UserHeldDevicesXml_Sharepoint.xslt index ae82bbaa..899c784d 100644 --- a/Disco.Web/ClientSource/Style/Public/UserHeldDevicesXml_Sharepoint.xslt +++ b/Disco.Web/ClientSource/Style/Public/UserHeldDevicesXml_Sharepoint.xslt @@ -1,20 +1,20 @@  - + - +
Username Name
- + diff --git a/Disco.Web/Disco.Web.csproj b/Disco.Web/Disco.Web.csproj index 0a7d3923..9beae525 100644 --- a/Disco.Web/Disco.Web.csproj +++ b/Disco.Web/Disco.Web.csproj @@ -1021,18 +1021,18 @@ RazorGenerator TaskStatus.generated.cs - + RazorGenerator Create.generated.cs - - + + RazorGenerator Index.generated.cs - - + + RazorGenerator Show.generated.cs - + RazorGenerator Index.generated.cs @@ -2003,10 +2003,10 @@ RazorGenerator Show.generated.cs - + RazorGenerator _Flags.generated.cs - + RazorGenerator _Authorization.generated.cs @@ -2157,7 +2157,7 @@ False - +