diff --git a/browser/loops.css b/browser/loops.css index 52b9a53..d6b9acc 100644 --- a/browser/loops.css +++ b/browser/loops.css @@ -59,6 +59,15 @@ textarea { margin-top: 0.5em; } +/* elements taken from blueprint (Lobo) skin */ +.span-1, .span-2, .span-3, .span-4, .span-5, .span-6 {float: left;} +.span-1 {width: 105px;} +.span-2 {width: 230px;} +.span-3 {width: 355px;} +.span-4 {width: 480px;} +.span-5 {width: 605px;} +.span-6 {width: 730px;} + table.listing { margin: 1px; margin-top: 6px; diff --git a/compound/book/browser.py b/compound/book/browser.py index dd4df91..2635929 100644 --- a/compound/book/browser.py +++ b/compound/book/browser.py @@ -130,7 +130,8 @@ class Base(object): return IOptions(adapted(dt))(name) def getTitleForResource(self, r): - if self.getOptionsForResource(r, 'showtitle'): + if (IOptions(adapted(r.context.resourceType))('show_title_in_section') or + self.getOptionsForResource(r, 'show_title_in_section')): return r.title def getIconForResource(self, r): diff --git a/compound/book/configure.zcml b/compound/book/configure.zcml index 09a374a..6d3ba0d 100644 --- a/compound/book/configure.zcml +++ b/compound/book/configure.zcml @@ -8,7 +8,7 @@ @@ -16,7 +16,7 @@ @@ -24,7 +24,7 @@