From a48fe406758dbfbf87ff1cc684b08a3df289fa8b Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Fri, 7 Mar 2014 09:46:33 +0100 Subject: [PATCH] Also clean up v6 snippets --- .../Templates/EditProfile.cshtml | 4 +- .../ListChildPagesOrderedByDate.cshtml | 2 +- .../ListChildPagesOrderedByName.cshtml | 2 +- .../ListChildPagesOrderedByProperty.cshtml | 3 - .../ListChildPagesWithDoctype.cshtml | 2 - .../PartialViewMacros/Templates/Login.cshtml | 2 +- .../Templates/LoginStatus.cshtml | 15 ++--- .../Templates/Navigation.cshtml | 3 +- .../Templates/RegisterMember.cshtml | 64 +++++++++---------- .../Templates/SiteMap.cshtml | 10 +-- .../templates/cshtml/EmptyTemplate.cshtml | 2 - .../cshtml/ListChildPagesOrderedByDate.cshtml | 3 +- .../cshtml/ListChildPagesOrderedByName.cshtml | 3 +- .../ListChildPagesOrderedByProperty.cshtml | 2 - .../cshtml/ListChildPagesWithDoctype.cshtml | 6 +- .../cshtml/ListImagesFromMediaFolder.cshtml | 3 - .../cshtml/MultinodeTree-picker.cshtml | 1 - .../templates/cshtml/Navigation.cshtml | 3 +- .../scripting/templates/cshtml/SiteMap.cshtml | 44 ++++++------- 19 files changed, 73 insertions(+), 101 deletions(-) diff --git a/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml b/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml index d1e8f2bf48..6d3c11b30a 100644 --- a/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml +++ b/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml @@ -3,7 +3,6 @@ @using System.Web.Mvc.Html @using ClientDependency.Core.Mvc @using Umbraco.Web -@using Umbraco.Web.Models @using Umbraco.Web.Controllers @{ @@ -16,7 +15,6 @@ Html.RequiresJs("/umbraco_client/Application/JQuery/jquery.validate.unobtrusive.min.js"); var success = TempData["ProfileUpdateSuccess"] != null; - } @*NOTE: This RenderJsHere code should be put on your main template page where the rest of your script tags are placed*@ @@ -26,7 +24,7 @@ { if (success) { - // This message will show if RedirectOnSucces is set to false (default) + @* This message will show if RedirectOnSucces is set to false (default) *@

Profile updated

} diff --git a/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/ListChildPagesOrderedByDate.cshtml b/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/ListChildPagesOrderedByDate.cshtml index 136578c16c..b189ffb5a9 100644 --- a/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/ListChildPagesOrderedByDate.cshtml +++ b/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/ListChildPagesOrderedByDate.cshtml @@ -1,7 +1,7 @@ @inherits Umbraco.Web.Macros.PartialViewMacroPage