add new 'create Orgunit' action

This commit is contained in:
Helmut Merz 2011-10-31 11:54:48 +01:00
parent cc4da4bbba
commit 8c56ddeec8
3 changed files with 23 additions and 7 deletions

Binary file not shown.

View file

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: $Id$\n" "Project-Id-Version: $Id$\n"
"POT-Creation-Date: 2007-05-22 12:00 CET\n" "POT-Creation-Date: 2007-05-22 12:00 CET\n"
"PO-Revision-Date: 2011-08-21 12:00 CET\n" "PO-Revision-Date: 2011-10-31 12:00 CET\n"
"Last-Translator: Helmut Merz <helmutm@cy55.de>\n" "Last-Translator: Helmut Merz <helmutm@cy55.de>\n"
"Language-Team: loops developers <helmutm@cy55.de>\n" "Language-Team: loops developers <helmutm@cy55.de>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -114,13 +114,13 @@ msgid "Create Glossary Item..."
msgstr "Glossareintrag anlegen..." msgstr "Glossareintrag anlegen..."
msgid "Create Glossary Item" msgid "Create Glossary Item"
msgstr "Glossareintrag anlegen" msgstr "Glossareintrag anlegen."
msgid "Create Person..." msgid "Create Person..."
msgstr "Person anlegen..." msgstr "Person anlegen..."
msgid "Create a new person." msgid "Create a new person."
msgstr "Eine neue Person anlegen" msgstr "Eine neue Person anlegen."
msgid "Edit Person..." msgid "Edit Person..."
msgstr "Person bearbeiten..." msgstr "Person bearbeiten..."
@ -132,25 +132,31 @@ msgid "Create Institution..."
msgstr "Institution anlegen..." msgstr "Institution anlegen..."
msgid "Create a new institution." msgid "Create a new institution."
msgstr "Eine neue Institution anlegen" msgstr "Eine neue Institution anlegen."
msgid "Edit Institution..." msgid "Edit Institution..."
msgstr "Institution bearbeiten..." msgstr "Institution bearbeiten..."
msgid "Modify institution." msgid "Modify institution."
msgstr "Institution bearbeiten" msgstr "Institution bearbeiten."
msgid "Create Orgunit..."
msgstr "Organisationseinheit anlegen..."
msgid "Create a new organizational unit."
msgstr "Eine neue Organisationseinheit anlegen."
msgid "Create Address..." msgid "Create Address..."
msgstr "Adresse anlegen..." msgstr "Adresse anlegen..."
msgid "Create a new address." msgid "Create a new address."
msgstr "Eine neue Adresse anlegen" msgstr "Eine neue Adresse anlegen."
msgid "Edit Address..." msgid "Edit Address..."
msgstr "Adresse bearbeiten..." msgstr "Adresse bearbeiten..."
msgid "Modify address." msgid "Modify address."
msgstr "Adresse bearbeiten" msgstr "Adresse bearbeiten."
msgid "Create Concept, Type = " msgid "Create Concept, Type = "
msgstr "Begriff anlegen, Typ = " msgstr "Begriff anlegen, Typ = "

View file

@ -96,6 +96,16 @@ actions.register('editInstitution', 'portlet', DialogAction,
dialogName='editInstitution', dialogName='editInstitution',
) )
actions.register('createOrgUnit', 'portlet', DialogAction,
title=_(u'Create Orgunit...'),
description=_(u'Create a new organizational unit.'),
viewName='create_concept.html',
dialogName='createOrgUnit',
typeToken='.loops/concepts/orgunit',
fixedType=True,
innerForm='inner_concept_form.html',
)
actions.register('send_email', 'object', DialogAction, actions.register('send_email', 'object', DialogAction,
description=_(u'Send a link to this object by email.'), description=_(u'Send a link to this object by email.'),
viewName='object_send_email.html', viewName='object_send_email.html',