From 098d3b6b8aa487519c54d139cc7609f4c2bd8c78 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 6 Jun 2012 14:35:45 +0200 Subject: [PATCH] MINOR Changed CMS breadcrumbs markup to fit new inline-block CSS (fixes #6882) --- templates/Includes/AssetAdmin_Content.ss | 32 +++++++------- .../Includes/AssetAdmin_UploadContent.ss | 22 +++++----- templates/Includes/CMSMain_Content.ss | 43 +++++++++---------- .../Includes/CMSPageAddController_Content.ss | 2 +- .../Includes/CMSPagesController_Content.ss | 35 ++++++++------- .../Includes/CMSSettingsController_Content.ss | 31 +++++++------ templates/Includes/ReportAdmin_Content.ss | 11 ++--- 7 files changed, 84 insertions(+), 92 deletions(-) diff --git a/templates/Includes/AssetAdmin_Content.ss b/templates/Includes/AssetAdmin_Content.ss index f85e365d..d3ed9c41 100644 --- a/templates/Includes/AssetAdmin_Content.ss +++ b/templates/Includes/AssetAdmin_Content.ss @@ -1,30 +1,28 @@
-
- <% with EditForm %> + <% with EditForm %> +
<% include BackLink_Button %>

<% with Controller %> - <% include CMSSectionIcon %> <% include CMSBreadcrumbs %> <% end_with %>

- <% if Fields.hasTabset %> - <% with Fields.fieldByName('Root') %> -
-
    - <% loop Tabs %> - class="$extraClass"<% end_if %>>$Title - <% end_loop %> -
-
- <% end_with %> - <% end_if %> - <% end_with %> - -
+
+ <% if Fields.hasTabset %> + <% with Fields.fieldByName('Root') %> +
+
    + <% loop Tabs %> + class="$extraClass"<% end_if %>>$Title + <% end_loop %> +
+
+ <% end_with %> + <% end_if %> + <% end_with %>
diff --git a/templates/Includes/AssetAdmin_UploadContent.ss b/templates/Includes/AssetAdmin_UploadContent.ss index af6be21a..a8fe67d5 100644 --- a/templates/Includes/AssetAdmin_UploadContent.ss +++ b/templates/Includes/AssetAdmin_UploadContent.ss @@ -1,18 +1,18 @@
- diff --git a/templates/Includes/CMSMain_Content.ss b/templates/Includes/CMSMain_Content.ss index 626cd285..c31c0d3a 100644 --- a/templates/Includes/CMSMain_Content.ss +++ b/templates/Includes/CMSMain_Content.ss @@ -1,31 +1,30 @@
- diff --git a/templates/Includes/CMSPageAddController_Content.ss b/templates/Includes/CMSPageAddController_Content.ss index 09e9560a..1683921c 100644 --- a/templates/Includes/CMSPageAddController_Content.ss +++ b/templates/Includes/CMSPageAddController_Content.ss @@ -2,7 +2,7 @@
-
+

<% _t('CMSAddPageController.Title','Add page') %>

diff --git a/templates/Includes/CMSPagesController_Content.ss b/templates/Includes/CMSPagesController_Content.ss index a7a76b74..24035b3b 100644 --- a/templates/Includes/CMSPagesController_Content.ss +++ b/templates/Includes/CMSPagesController_Content.ss @@ -1,27 +1,26 @@
- diff --git a/templates/Includes/CMSSettingsController_Content.ss b/templates/Includes/CMSSettingsController_Content.ss index bf45dce8..6561f0ec 100644 --- a/templates/Includes/CMSSettingsController_Content.ss +++ b/templates/Includes/CMSSettingsController_Content.ss @@ -1,27 +1,26 @@
-
- <% with EditForm %> + <% with EditForm %> +

<% with Controller %> - <% include CMSSectionIcon %> <% include CMSBreadcrumbs %> <% end_with %>

- <% if Fields.hasTabset %> - <% with Fields.fieldByName('Root') %> -
-
    - <% loop Tabs %> - class="$extraClass"<% end_if %>>$Title - <% end_loop %> -
-
- <% end_with %> - <% end_if %> - <% end_with %> -
+
+ <% if Fields.hasTabset %> + <% with Fields.fieldByName('Root') %> +
+
    + <% loop Tabs %> + class="$extraClass"<% end_if %>>$Title + <% end_loop %> +
+
+ <% end_with %> + <% end_if %> + <% end_with %>
diff --git a/templates/Includes/ReportAdmin_Content.ss b/templates/Includes/ReportAdmin_Content.ss index c926d375..6c138f2d 100644 --- a/templates/Includes/ReportAdmin_Content.ss +++ b/templates/Includes/ReportAdmin_Content.ss @@ -1,19 +1,16 @@
-
- <% with EditForm %> + <% with EditForm %> +
<% include BackLink_Button %> -

<% with Controller %> - <% include CMSSectionIcon %> <% include CMSBreadcrumbs %> <% end_with %>

- <% end_with %> - -
+
+ <% end_with %>