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:
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0715.2224")]
|
[assembly: AssemblyVersion("1.2.0722.1715")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0715.2224")]
|
[assembly: AssemblyFileVersion("1.2.0722.1715")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0715.2224")]
|
[assembly: AssemblyVersion("1.2.0722.1715")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0715.2224")]
|
[assembly: AssemblyFileVersion("1.2.0722.1715")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0715.2224")]
|
[assembly: AssemblyVersion("1.2.0722.1715")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0715.2224")]
|
[assembly: AssemblyFileVersion("1.2.0722.1715")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0715.2224")]
|
[assembly: AssemblyVersion("1.2.0722.1715")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0715.2224")]
|
[assembly: AssemblyFileVersion("1.2.0722.1715")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0715.2224")]
|
[assembly: AssemblyVersion("1.2.0722.1715")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0715.2224")]
|
[assembly: AssemblyFileVersion("1.2.0722.1715")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0715.2224")]
|
[assembly: AssemblyVersion("1.2.0722.1715")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0715.2224")]
|
[assembly: AssemblyFileVersion("1.2.0722.1715")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0715.2224")]
|
[assembly: AssemblyVersion("1.2.0722.1715")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0715.2224")]
|
[assembly: AssemblyFileVersion("1.2.0722.1715")]
|
||||||
@@ -17,7 +17,7 @@ namespace Disco.Web.Areas.Public.Models.HeldDevices
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder(this.DeviceSerialNumber);
|
StringBuilder sb = new StringBuilder(this.DeviceComputerName);
|
||||||
|
|
||||||
if (UserId != null)
|
if (UserId != null)
|
||||||
sb.Append(" - ").Append(this.UserDisplayName).Append(" (").Append(this.UserId).Append(")");
|
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))
|
if (!string.IsNullOrWhiteSpace(this.DeviceLocation))
|
||||||
sb.Append(" - ").Append(this.DeviceLocation);
|
sb.Append(" - ").Append(this.DeviceLocation);
|
||||||
else if (UserId == null)
|
else if (UserId == null)
|
||||||
sb.Append(" - ").Append(this.DeviceComputerName);
|
sb.Append(" - ").Append(this.DeviceSerialNumber);
|
||||||
|
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td class="id">
|
<td class="id">
|
||||||
@item.DeviceSerialNumber
|
@item.DeviceComputerName
|
||||||
</td>
|
</td>
|
||||||
<td class="description">
|
<td class="description">
|
||||||
@if (item.UserId != null)
|
@if (item.UserId != null)
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
{
|
{
|
||||||
if (item.UserId == null)
|
if (item.UserId == null)
|
||||||
{
|
{
|
||||||
@item.DeviceComputerName
|
@item.DeviceSerialNumber
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@if (!string.IsNullOrEmpty(item.EstimatedReturnTime))
|
@if (!string.IsNullOrEmpty(item.EstimatedReturnTime))
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td class="id">
|
<td class="id">
|
||||||
@item.DeviceSerialNumber
|
@item.DeviceComputerName
|
||||||
</td>
|
</td>
|
||||||
<td class="description">
|
<td class="description">
|
||||||
@if (item.UserId != null)
|
@if (item.UserId != null)
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
{
|
{
|
||||||
if (item.UserId == null)
|
if (item.UserId == null)
|
||||||
{
|
{
|
||||||
@item.DeviceComputerName
|
@item.DeviceSerialNumber
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td class="id">
|
<td class="id">
|
||||||
@item.DeviceSerialNumber
|
@item.DeviceComputerName
|
||||||
</td>
|
</td>
|
||||||
<td class="description">
|
<td class="description">
|
||||||
@if (item.UserId != null)
|
@if (item.UserId != null)
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
{
|
{
|
||||||
if (item.UserId == null)
|
if (item.UserId == null)
|
||||||
{
|
{
|
||||||
@item.DeviceComputerName
|
@item.DeviceSerialNumber
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
// Runtime Version:4.0.30319.18033
|
// Runtime Version:4.0.30319.18051
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
@@ -112,7 +112,7 @@ WriteLiteral(" ");
|
|||||||
|
|
||||||
|
|
||||||
#line 17 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
#line 17 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
||||||
Write(item.DeviceSerialNumber);
|
Write(item.DeviceComputerName);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -214,7 +214,7 @@ WriteLiteral("\r\n");
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
#line 36 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
#line 36 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
||||||
Write(item.DeviceComputerName);
|
Write(item.DeviceSerialNumber);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -328,7 +328,7 @@ WriteLiteral(" ");
|
|||||||
|
|
||||||
|
|
||||||
#line 58 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
#line 58 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
||||||
Write(item.DeviceSerialNumber);
|
Write(item.DeviceComputerName);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -430,7 +430,7 @@ WriteLiteral("\r\n");
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
#line 77 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
#line 77 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
||||||
Write(item.DeviceComputerName);
|
Write(item.DeviceSerialNumber);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -530,7 +530,7 @@ WriteLiteral(" ");
|
|||||||
|
|
||||||
|
|
||||||
#line 96 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
#line 96 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
||||||
Write(item.DeviceSerialNumber);
|
Write(item.DeviceComputerName);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -632,7 +632,7 @@ WriteLiteral("\r\n");
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
#line 115 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
#line 115 "..\..\Areas\Public\Views\HeldDevices\Index.cshtml"
|
||||||
Write(item.DeviceComputerName);
|
Write(item.DeviceSerialNumber);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
|
|||||||
@@ -1911,7 +1911,7 @@
|
|||||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||||
</WebProjectProperties>
|
</WebProjectProperties>
|
||||||
</FlavorProperties>
|
</FlavorProperties>
|
||||||
<UserProperties BuildVersion_UpdateFileVersion="True" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.DeltaBaseYear.MonthAndDayStamp.TimeStamp" BuildVersion_DetectChanges="False" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildAction="Both" BuildVersion_StartDate="2011/7/1" />
|
<UserProperties BuildVersion_StartDate="2011/7/1" BuildVersion_BuildAction="Both" BuildVersion_UseGlobalSettings="False" BuildVersion_DetectChanges="False" BuildVersion_BuildVersioningStyle="None.DeltaBaseYear.MonthAndDayStamp.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_UpdateFileVersion="True" />
|
||||||
</VisualStudio>
|
</VisualStudio>
|
||||||
</ProjectExtensions>
|
</ProjectExtensions>
|
||||||
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
|
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
|
||||||
|
|||||||
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Revision and Build Numbers
|
// You can specify all the values or you can default the Revision and Build Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
[assembly: AssemblyVersion("1.2.0715.2224")]
|
[assembly: AssemblyVersion("1.2.0722.1715")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0715.2224")]
|
[assembly: AssemblyFileVersion("1.2.0722.1715")]
|
||||||
Reference in New Issue
Block a user