From 6eca5af92928635e0dc78bbfbdf1230145f650a0 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 24 Jan 2013 10:02:18 +1300 Subject: [PATCH] Improve default template of DocumentationViewer class "container" was missing, so a bunch of CSS wasn't being applied. The layout of the default docsviewer checkout now looks more like the one on doc.silverstripe.org. --- templates/DocumentationViewer.ss | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/DocumentationViewer.ss b/templates/DocumentationViewer.ss index 2f92ee8..01c9b81 100755 --- a/templates/DocumentationViewer.ss +++ b/templates/DocumentationViewer.ss @@ -9,7 +9,7 @@ -
+
- <% if Entities %> -
+ <% if Entities %> +

Modules:

    <% control Entities %>
  • $Title
  • <% end_control %>
+ +
<% end_if %> <% if Versions %> -
+

Versions:

    <% control Versions %> @@ -46,7 +48,7 @@ <% end_control %>
- <% end_if %> + <% end_if %>
@@ -58,4 +60,4 @@ <% include DocumentationFooter %> - \ No newline at end of file +