From 1a98533f976c647bd938bd99deec4662b8ae0625 Mon Sep 17 00:00:00 2001 From: Stanley Goldman Date: Fri, 25 Jul 2014 21:12:31 -0400 Subject: [PATCH] #20833: Better hint when AllowCustomPattern is false Work Item: 20833 --- .../Views/EditorTemplates/Parts.Autoroute.Edit.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Orchard.Web/Modules/Orchard.Autoroute/Views/EditorTemplates/Parts.Autoroute.Edit.cshtml b/src/Orchard.Web/Modules/Orchard.Autoroute/Views/EditorTemplates/Parts.Autoroute.Edit.cshtml index dd7cc7d43..d0fd594bf 100644 --- a/src/Orchard.Web/Modules/Orchard.Autoroute/Views/EditorTemplates/Parts.Autoroute.Edit.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Autoroute/Views/EditorTemplates/Parts.Autoroute.Edit.cshtml @@ -23,13 +23,13 @@ @if (Model.Settings.AllowCustomPattern) { @Url.MakeAbsolute("/")@urlPrefix @Html.TextBoxFor(m => m.CurrentUrl, new {@class = "text"}) + @T("Save the current item and leave the input empty to have it automatically generated using the pattern {0} e.g., {1}", defaultPattern.Name, defaultPattern.Description) } else { @Url.MakeAbsolute("/")@urlPrefix + @T("Save the current and item the url will be generated using the pattern {0} e.g., {1}", defaultPattern.Name, defaultPattern.Description) } - @T("Save the current item and leave the input empty to have it automatically generated using the pattern {0} e.g., {1}", defaultPattern.Name, defaultPattern.Description) - if (AuthorizedFor(Permissions.SetHomePage)) {