use registerDojoFormAll as standard

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3254 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2009-02-27 13:38:07 +00:00
parent 12e2a9e6cb
commit 2f317b3d1c
3 changed files with 9 additions and 8 deletions

View file

@ -70,7 +70,7 @@ from loops.versioning.interfaces import IVersionable
concept_macros = ViewPageTemplateFile('concept_macros.pt') concept_macros = ViewPageTemplateFile('concept_macros.pt')
conceptMacrosTemplate = concept_macros # "old" name conceptMacrosTemplate = concept_macros #
class NameField(schema.ASCIILine): class NameField(schema.ASCIILine):

View file

@ -186,26 +186,26 @@ fieldset.box td {
} }
.content-2 h1, .content-1 h2, h2 { .content-2 h1, .content-1 h2, h2 {
font-size: 160%; font-size: 170%;
font-weight: normal; font-weight: normal;
padding-top: 0.5em; padding-top: 0.5em;
} }
.content-3 h1, .content-2 h2, .content-1 h3, h3 { .content-3 h1, .content-2 h2, .content-1 h3, h3 {
font-size: 145%; font-size: 160%;
font-weight: normal; font-weight: normal;
padding-top: 0.4em; padding-top: 0.4em;
} }
.content-4 h1, .content-3 h2, .content-2 h3, .content-1 h4, h4 { .content-4 h1, .content-3 h2, .content-2 h3, .content-1 h4, h4 {
font-size: 125%; font-size: 140%;
font-weight: normal; font-weight: normal;
padding-top: 0.3em; padding-top: 0.3em;
} }
.content-5 h1, .content-4 h2, .content-3 h3, content-2 h4 { .content-5 h1, .content-4 h2, .content-3 h3, content-2 h4, h5 {
font-size: 110%; font-size: 120%;
border: none; /* border: none; */
padding-top: 0.2em; padding-top: 0.2em;
} }

View file

@ -421,7 +421,8 @@ class NodeView(BaseView):
def getActions(self, category='object', target=None): def getActions(self, category='object', target=None):
actions = [] actions = []
self.registerDojo() #self.registerDojo()
self.registerDojoFormAll()
if category in self.actions: if category in self.actions:
actions.extend(self.actions[category](self, target=target)) actions.extend(self.actions[category](self, target=target))
if target is None: if target is None: