diff --git a/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml index 7f6b210de..d8e557c4c 100644 --- a/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml @@ -5,42 +5,46 @@ @using (Html.BeginForm("update", "admin", FormMethod.Post, new {area = "Orchard.Indexing"})) {
+ @T("Search Index Statistics") +
    @if (Model.IndexEntry == null) { -

    @T("There is currently no search index")

    + +
  1. @T("There is currently no search index")
  2. } else if (Model.IndexEntry.LastUpdateUtc == DateTime.MinValue) { -

    @T("The search index has not been built yet.")

    +
  3. @T("The search index has not been built yet.")
  4. } else { if (Model.IndexEntry.DocumentCount == 0) { -

    @T("The search index does not contain any document.")

    +
  5. @T("The search index does not contain any document.")
  6. } else { -

    @T("The search index contains {0} document(s).", Model.IndexEntry.DocumentCount)

    +
  7. @T("The search index contains {0} document(s).", Model.IndexEntry.DocumentCount)
  8. } if (!Model.IndexEntry.Fields.Any()) { -

    @T("The search index does not contain any field.")

    +
  9. @T("The search index does not contain any field.")
  10. } else { -

    @T("The search index contains the following fields: {0}.", string.Join(T(", ").Text, Model.IndexEntry.Fields))

    +
  11. @T("The search index contains the following fields: {0}.", string.Join(T(", ").Text, Model.IndexEntry.Fields))
  12. } -

    @T("The search index was last updated {0}.", Display.DateTimeRelative(dateTimeUtc: Model.IndexEntry.LastUpdateUtc))

    +
  13. @T("The search index was last updated {0}.", Display.DateTimeRelative(dateTimeUtc: Model.IndexEntry.LastUpdateUtc))
  14. switch(Model.IndexEntry.IndexingStatus) { case IndexingStatus.Rebuilding: - @T("The indexing process is currently being rebuilt."); +
  15. @T("The indexing process is currently being rebuilt.");
  16. break; case IndexingStatus.Updating: - @T("The indexing process is currently being updated."); +
  17. @T("The indexing process is currently being updated.");
  18. break; } } -

    @T("Update the search index now: ")

    +
+ @Html.AntiForgeryTokenOrchard()
} @using (Html.BeginForm("rebuild", "admin", FormMethod.Post, new {area = "Orchard.Search"})) {
-

@T("Rebuild the search index for a fresh start.") -

+ + @Html.AntiForgeryTokenOrchard()
} \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Search/Views/EditorTemplates/Parts/Search.SiteSettings.cshtml b/src/Orchard.Web/Modules/Orchard.Search/Views/EditorTemplates/Parts/Search.SiteSettings.cshtml index 4277a4e20..8cedcbd4b 100644 --- a/src/Orchard.Web/Modules/Orchard.Search/Views/EditorTemplates/Parts/Search.SiteSettings.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Search/Views/EditorTemplates/Parts/Search.SiteSettings.cshtml @@ -5,21 +5,29 @@ @T("Enter Settings")
@{var entryIndex = 0;} + @if (Model.Entries != null && Model.Entries.Any()) { - foreach(var modelEntry in Model.Entries) { - if(Model.Entries[entryIndex].Selected) { - + } + else { @T("There are currently no fields to search from. Please update you index, and check some indexable content exists.") }
- \ No newline at end of file + diff --git a/src/Orchard.Web/Modules/Orchard.Warmup/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Warmup/Views/Admin/Index.cshtml index b61001f18..e3959fb81 100644 --- a/src/Orchard.Web/Modules/Orchard.Warmup/Views/Admin/Index.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Warmup/Views/Admin/Index.cshtml @@ -2,7 +2,7 @@ @using Orchard.Utility.Extensions; @using Orchard.Warmup.Models; -@{ Layout.Title = T("Warmup Settings").ToString(); } +@{ Layout.Title = T("Settings for Warmup").ToString(); } @using (Html.BeginFormAntiForgeryPost()) { @Html.ValidationSummary() diff --git a/src/Orchard.Web/Themes/TheAdmin/Styles/site.css b/src/Orchard.Web/Themes/TheAdmin/Styles/site.css index 29e003e2d..2352c2f50 100644 --- a/src/Orchard.Web/Themes/TheAdmin/Styles/site.css +++ b/src/Orchard.Web/Themes/TheAdmin/Styles/site.css @@ -203,6 +203,12 @@ form.link button:hover, button.link:hover { border-bottom:1px solid #1e5d7d; } +/* Lists +***************************************************************/ + +ol.decimal {list-style:decimal inside; margin:12px 0;} +ul.disc {list-style:disc inside; margin:12px 0;} + /* Header - Branding and Login ***************************************************************/ #header { @@ -826,7 +832,7 @@ button.link { /* (Items) Tables -----------------------------------------------------------*/ +***************************************************************/ table.items { margin:0 0 1.4em 0; background:#fff;