From 66276ec72f61627b9efc5cb87d3c3515084020aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Vondr=C3=A1=C5=A1ek?= Date: Mon, 13 Jul 2015 17:06:51 +0200 Subject: [PATCH 1/2] Added Back to list button to User detail --- .../Web/Areas/Security/Views/Users/Detail.cshtml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Server/DeploymentFramework/Web/Areas/Security/Views/Users/Detail.cshtml b/src/Server/DeploymentFramework/Web/Areas/Security/Views/Users/Detail.cshtml index b94aa74..2e24cb1 100644 --- a/src/Server/DeploymentFramework/Web/Areas/Security/Views/Users/Detail.cshtml +++ b/src/Server/DeploymentFramework/Web/Areas/Security/Views/Users/Detail.cshtml @@ -21,4 +21,5 @@ } } +@Html.GuardedActionLink(StringResources.BackToList, MVC.Security.Users.Index(), new SimpleHtmlAttributes("class", "btn btn-default")) @Html.GuardedActionLink(StringResources.Edit, MVC.Security.Users.Edit(Model.ID), new SimpleHtmlAttributes("class", "btn btn-default")) \ No newline at end of file From 64d00faebbe2bef0d5fff2797dad11adc7452d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Vondr=C3=A1=C5=A1ek?= Date: Mon, 13 Jul 2015 17:08:09 +0200 Subject: [PATCH 2/2] Added Back to list buttons to Position and Role name update. --- .../Web/Areas/Security/Views/Positions/UpdateName.cshtml | 2 ++ .../Web/Areas/Security/Views/Roles/UpdateName.cshtml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Server/DeploymentFramework/Web/Areas/Security/Views/Positions/UpdateName.cshtml b/src/Server/DeploymentFramework/Web/Areas/Security/Views/Positions/UpdateName.cshtml index 43adaa4..f1fe819 100644 --- a/src/Server/DeploymentFramework/Web/Areas/Security/Views/Positions/UpdateName.cshtml +++ b/src/Server/DeploymentFramework/Web/Areas/Security/Views/Positions/UpdateName.cshtml @@ -13,6 +13,8 @@ { @s.FieldFor(m => m.Name) } + + @Html.GuardedActionLink(StringResources.BackToList, MVC.Security.Positions.Index(), new SimpleHtmlAttributes("class", "btn btn-default")) using (var n = f.BeginNavigation()) { diff --git a/src/Server/DeploymentFramework/Web/Areas/Security/Views/Roles/UpdateName.cshtml b/src/Server/DeploymentFramework/Web/Areas/Security/Views/Roles/UpdateName.cshtml index 42f0e29..5337c3d 100644 --- a/src/Server/DeploymentFramework/Web/Areas/Security/Views/Roles/UpdateName.cshtml +++ b/src/Server/DeploymentFramework/Web/Areas/Security/Views/Roles/UpdateName.cshtml @@ -14,6 +14,8 @@ @s.FieldFor(m => m.Name) } + @Html.GuardedActionLink(StringResources.BackToList, MVC.Security.Roles.Index(), new SimpleHtmlAttributes("class", "btn btn-default")) + using (var n = f.BeginNavigation()) { @n.Submit(StringResources.Save)