Update: Computer Name in Tech Held Devices

Requested by Rohan Beckett representing non-1:1 primary schools.
http://discoict.com.au/forum/support/disco-jobs/2013/3/public-reports-not-working.aspx
This commit is contained in:
Gary Sharp
2013-07-22 17:26:28 +10:00
parent c3733c908c
commit ab3ad25944
12 changed files with 32 additions and 32 deletions
@@ -17,7 +17,7 @@ namespace Disco.Web.Areas.Public.Models.HeldDevices
{
get
{
StringBuilder sb = new StringBuilder(this.DeviceSerialNumber);
StringBuilder sb = new StringBuilder(this.DeviceComputerName);
if (UserId != null)
sb.Append(" - ").Append(this.UserDisplayName).Append(" (").Append(this.UserId).Append(")");
@@ -25,7 +25,7 @@ namespace Disco.Web.Areas.Public.Models.HeldDevices
if (!string.IsNullOrWhiteSpace(this.DeviceLocation))
sb.Append(" - ").Append(this.DeviceLocation);
else if (UserId == null)
sb.Append(" - ").Append(this.DeviceComputerName);
sb.Append(" - ").Append(this.DeviceSerialNumber);
return sb.ToString();
}