diff --git a/browser/action.py b/browser/action.py index 06600c5..4ac0b03 100644 --- a/browser/action.py +++ b/browser/action.py @@ -123,6 +123,15 @@ actions.register('external_edit', 'object', TargetAction, cssClass='icon-action', ) +actions.register('create_object', 'portlet', DialogAction, + title=_('Create Resource...'), + description=_('Create a new resource object.'), + viewName='create_object.html', + dialogName='edit', + prerequisites=['registerDojoEditor'], + permission='zope.ManageContent', +) + actions.register('edit_object', 'portlet', DialogAction, title=_(u'Edit Resource...'), description=_(u'Modify resource object.'), 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 @@ diff --git a/compound/book/loops_book_de.dmp b/compound/book/loops_book_de.dmp index a7d846f..1a9e4d9 100644 --- a/compound/book/loops_book_de.dmp +++ b/compound/book/loops_book_de.dmp @@ -26,6 +26,7 @@ concept(u'quote', u'Zitat', u'documenttype') concept(u'story', u'Geschichte', u'documenttype') concept(u'tip', u'Tipp', u'documenttype') concept(u'usecase', u'Fallbeispiel', u'documenttype') +concept(u'warning', u'Warnung', u'documenttype') # book structure child(u'book', u'section', u'issubtype', usePredicate=u'ispartof')