diff --git a/DeviceAdministration/Web/App_GlobalResources/Strings.designer.cs b/DeviceAdministration/Web/App_GlobalResources/Strings.designer.cs index 90ddfc16..ab06e160 100644 --- a/DeviceAdministration/Web/App_GlobalResources/Strings.designer.cs +++ b/DeviceAdministration/Web/App_GlobalResources/Strings.designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.34209 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -151,6 +151,15 @@ namespace GlobalResources { } } + /// + /// Looks up a localized string similar to Administrator. + /// + public static string AdministratorRole { + get { + return ResourceManager.GetString("AdministratorRole", resourceCulture); + } + } + /// /// Looks up a localized string similar to Alarm. /// @@ -880,6 +889,15 @@ namespace GlobalResources { } } + /// + /// Looks up a localized string similar to Device to View: <3. + /// + public static string DeviceToView { + get { + return ResourceManager.GetString("DeviceToView", resourceCulture); + } + } + /// /// Looks up a localized string similar to Unable to update the device. An unexpected error occurred.. /// @@ -1492,6 +1510,15 @@ namespace GlobalResources { } } + /// + /// Looks up a localized string similar to Implicit Read-Only. + /// + public static string ImplicitReadOnlyRole { + get { + return ResourceManager.GetString("ImplicitReadOnlyRole", resourceCulture); + } + } + /// /// Looks up a localized string similar to https://azure.microsoft.com/solutions/iot-suite/. /// @@ -2095,6 +2122,15 @@ namespace GlobalResources { } } + /// + /// Looks up a localized string similar to Read-Only. + /// + public static string ReadOnlyRole { + get { + return ResourceManager.GetString("ReadOnlyRole", resourceCulture); + } + } + /// /// Looks up a localized string similar to Registered But Not Present. /// @@ -2536,6 +2572,15 @@ namespace GlobalResources { } } + /// + /// Looks up a localized string similar to Sign Out <3. + /// + public static string SignOut { + get { + return ResourceManager.GetString("SignOut", resourceCulture); + } + } + /// /// Looks up a localized string similar to Your simulated device has been created with these settings. /// diff --git a/DeviceAdministration/Web/App_GlobalResources/Strings.resx b/DeviceAdministration/Web/App_GlobalResources/Strings.resx index 96a4d7b3..9180da90 100644 --- a/DeviceAdministration/Web/App_GlobalResources/Strings.resx +++ b/DeviceAdministration/Web/App_GlobalResources/Strings.resx @@ -1059,4 +1059,19 @@ Remove Device + + Administrator + + + Implicit Read-Only + + + Read-Only + + + Device to View: + + + Sign Out + \ No newline at end of file diff --git a/DeviceAdministration/Web/Views/Dashboard/_DashboardDevicePane.cshtml b/DeviceAdministration/Web/Views/Dashboard/_DashboardDevicePane.cshtml index fb3793a4..4f5f13c9 100644 --- a/DeviceAdministration/Web/Views/Dashboard/_DashboardDevicePane.cshtml +++ b/DeviceAdministration/Web/Views/Dashboard/_DashboardDevicePane.cshtml @@ -1,4 +1,5 @@ -@using System.Collections.Generic +@using GlobalResources +@using System.Collections.Generic @model IList> @{ @@ -8,7 +9,7 @@
-
Device to View:
+
@Strings.DeviceToView