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/browser/common.py b/browser/common.py index 69b54b6..02d9902 100644 --- a/browser/common.py +++ b/browser/common.py @@ -489,7 +489,7 @@ class BaseView(GenericView, I18NView): return absoluteURL(provider, self.request) return None - def renderText(self, text, contentType): + def renderText(self, text, contentType='text/restructured'): text = util.toUnicode(text) typeKey = util.renderingFactories.get(contentType, None) if typeKey is None: diff --git a/browser/form_macros.pt b/browser/form_macros.pt index f56b708..110280e 100644 --- a/browser/form_macros.pt +++ b/browser/form_macros.pt @@ -51,6 +51,8 @@ +
+Category | @@ -47,12 +50,12 @@
---|
-
+
-
|
Does not apply | |||||||||||||||||
diff --git a/locales/de/LC_MESSAGES/loops.mo b/locales/de/LC_MESSAGES/loops.mo
index 45b1e4c..4308de5 100644
Binary files a/locales/de/LC_MESSAGES/loops.mo and b/locales/de/LC_MESSAGES/loops.mo differ
diff --git a/locales/de/LC_MESSAGES/loops.po b/locales/de/LC_MESSAGES/loops.po
index ca2a770..77ed12b 100644
--- a/locales/de/LC_MESSAGES/loops.po
+++ b/locales/de/LC_MESSAGES/loops.po
@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: 0.13.0\n"
"POT-Creation-Date: 2007-05-22 12:00 CET\n"
-"PO-Revision-Date: 2013-04-06 12:00 CET\n"
+"PO-Revision-Date: 2013-06-20 12:00 CET\n"
"Last-Translator: Helmut Merz
+ |
+ |
+
+
+ |
- Workflow
+ States Definition
-
- State:
-
+
+ State:
- + +
- Available Transitions:
+ Available Transitions:
@@ -96,4 +101,49 @@
+ |