#20833: Better hint when AllowCustomPattern is false

Work Item: 20833
This commit is contained in:
Stanley Goldman
2014-07-25 21:12:31 -04:00
committed by Nicholas Mayne
parent cf99946d3f
commit 1a98533f97

View File

@@ -23,13 +23,13 @@
@if (Model.Settings.AllowCustomPattern) {
<span>@Url.MakeAbsolute("/")@urlPrefix</span>
<span>@Html.TextBoxFor(m => m.CurrentUrl, new {@class = "text"})</span>
<span class="hint">@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)</span>
}
else {
<span>@Url.MakeAbsolute("/")@urlPrefix</span>
<span class="hint">@T("Save the current and item the url will be generated using the pattern {0} e.g., {1}", defaultPattern.Name, defaultPattern.Description)</span>
}
<span class="hint">@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)</span>
</fieldset>
if (AuthorizedFor(Permissions.SetHomePage)) {
<fieldset>