From c7cb323d20bf25862342b6820c300e9c092ccdc0 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Sun, 8 Sep 2013 17:14:53 +0200 Subject: [PATCH] show nested children (grandchildren) in book_topic_view if option 'show_nested_children' is set --- browser/common.py | 1 - browser/skin/lobo/lobo.css | 4 ++++ compound/book/view_macros.pt | 18 +++++++++++++++++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/browser/common.py b/browser/common.py index eb42fd8..7cde1a5 100644 --- a/browser/common.py +++ b/browser/common.py @@ -609,7 +609,6 @@ class BaseView(GenericView, I18NView): for opt in (self.options, self.typeOptions, self.globalOptions): if isinstance(opt, DummyOptions): continue - #import pdb; pdb.set_trace() v = opt for key in keys.split('.'): if isinstance(v, list): diff --git a/browser/skin/lobo/lobo.css b/browser/skin/lobo/lobo.css index 4fbcbd3..ee31522 100644 --- a/browser/skin/lobo/lobo.css +++ b/browser/skin/lobo/lobo.css @@ -302,6 +302,10 @@ fieldset.box td { margin-top: -1px; } +.nested { + margin-left: 2em; +} + .content-1 h1, h1 { padding-top: 0.5em; font-size: 180%; diff --git a/compound/book/view_macros.pt b/compound/book/view_macros.pt index c5b1562..03f6fba 100644 --- a/compound/book/view_macros.pt +++ b/compound/book/view_macros.pt @@ -10,10 +10,26 @@ tal:content="related/title" />
- + + +
+ + +
+

+ +

+
+
+ + +