diff --git a/src/Orchard.Web/Core/Contents/Views/Admin/List.cshtml b/src/Orchard.Web/Core/Contents/Views/Admin/List.cshtml index dc6bda6c3..e091e129f 100644 --- a/src/Orchard.Web/Core/Contents/Views/Admin/List.cshtml +++ b/src/Orchard.Web/Core/Contents/Views/Admin/List.cshtml @@ -8,6 +8,8 @@ createLinkText = T("Create New {0}", typeDisplayName); } + IEnumerable cultures = Model.Options.Cultures; + Layout.Title = pageTitle; } @@ -29,17 +31,21 @@ - - + + @if (cultures.Count() > 1) { + + + } + - @Html.SelectOption((string)Model.CurrentCulture, "", T("any (show all)").ToString()) - @foreach (var culture in cultures) { - @Html.SelectOption((string)Model.CurrentCulture, (string)culture, System.Globalization.CultureInfo.GetCultureInfo(culture).DisplayName) - } - - - + @if (cultures.Count() > 1) { + @using (Html.BeginForm("index", "admin", FormMethod.Get, new { area = "Orchard.Widgets" })) { +
+ + + +
+ } }