|
-
Title
diff --git a/expert/concept.py b/expert/concept.py
index 4f29799..2063cd5 100644
--- a/expert/concept.py
+++ b/expert/concept.py
@@ -193,7 +193,7 @@ class IQueryConcept(ILoopsAdapter):
'to be used for the query and for presenting '
'the results'),
default=u'',
- required=True)
+ required=False)
options = schema.List(
title=_(u'Options'),
diff --git a/locales/de/LC_MESSAGES/loops.mo b/locales/de/LC_MESSAGES/loops.mo
index b714402..a62e9eb 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 41ed74c..2d907e1 100644
--- a/locales/de/LC_MESSAGES/loops.po
+++ b/locales/de/LC_MESSAGES/loops.po
@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: $Id$\n"
"POT-Creation-Date: 2007-05-22 12:00 CET\n"
-"PO-Revision-Date: 2009-10-11 12:00 CET\n"
+"PO-Revision-Date: 2009-10-12 12:00 CET\n"
"Last-Translator: Helmut Merz \n"
"Language-Team: loops developers \n"
"MIME-Version: 1.0\n"
@@ -110,6 +110,30 @@ msgstr "Person bearbeiten..."
msgid "Modify person."
msgstr "Person bearbeiten"
+msgid "Create Institution..."
+msgstr "Institution anlegen..."
+
+msgid "Create a new institution."
+msgstr "Eine neue Institution anlegen"
+
+msgid "Edit Institution..."
+msgstr "Institution bearbeiten..."
+
+msgid "Modify institution."
+msgstr "Institution bearbeiten"
+
+msgid "Create Address..."
+msgstr "Adresse anlegen..."
+
+msgid "Create a new address."
+msgstr "Eine neue Adresse anlegen"
+
+msgid "Edit Address..."
+msgstr "Adresse bearbeiten..."
+
+msgid "Modify address."
+msgstr "Adresse bearbeiten"
+
msgid "Create Resource, Type = "
msgstr "Ressource anlegen, Typ = "
diff --git a/organize/browser/party.py b/organize/browser/party.py
index 9e3fba1..1e3bd79 100644
--- a/organize/browser/party.py
+++ b/organize/browser/party.py
@@ -78,6 +78,23 @@ actions.register('editAddress', 'portlet', DialogAction,
dialogName='editAddress',
)
+actions.register('createInstitution', 'portlet', DialogAction,
+ title=_(u'Create Institution...'),
+ description=_(u'Create a new institution.'),
+ viewName='create_concept.html',
+ dialogName='createInstitution',
+ typeToken='.loops/concepts/institution',
+ fixedType=True,
+ innerForm='inner_concept_form.html',
+)
+
+actions.register('editInstitution', 'portlet', DialogAction,
+ title=_(u'Edit Institution...'),
+ description=_(u'Modify institution.'),
+ viewName='edit_concept.html',
+ dialogName='editInstitution',
+)
+
actions.register('send_email', 'object', DialogAction,
description=_(u'Send a link to this object by email.'),
viewName='object_send_email.html',
diff --git a/query.py b/query.py
index 6ab2c95..487c1d0 100644
--- a/query.py
+++ b/query.py
@@ -192,7 +192,7 @@ class IQueryConcept(IConceptSchema):
'to be used for the query and for presenting '
'the results'),
default=u'',
- required=True)
+ required=False)
options = schema.List(
title=_(u'Options'),
|