Commit 804566cf authored by Romain Courteaud's avatar Romain Courteaud

Make field required.

Translate portal type in Ticket_newEvent.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16904 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1e264f6b
...@@ -86,7 +86,7 @@ else:\n ...@@ -86,7 +86,7 @@ else:\n
\n \n
# Redirect to even\n # Redirect to even\n
portal_status_message = translateString("Created and associated a new ${portal_type} to the ticket.", \n portal_status_message = translateString("Created and associated a new ${portal_type} to the ticket.", \n
mapping = dict(portal_type = portal_type))\n mapping = dict(portal_type = translateString(portal_type)))\n
event.Base_redirect(\'view\', keep_items = dict(portal_status_message=portal_status_message), **kw)\n event.Base_redirect(\'view\', keep_items = dict(portal_status_message=portal_status_message), **kw)\n
</string> </value> </string> </value>
</item> </item>
...@@ -136,7 +136,7 @@ event.Base_redirect(\'view\', keep_items = dict(portal_status_message=portal_sta ...@@ -136,7 +136,7 @@ event.Base_redirect(\'view\', keep_items = dict(portal_status_message=portal_sta
<string>direction</string> <string>direction</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>translateString</string> <string>translateString</string>
<string>module</string> <string>module</string>
<string>event</string> <string>event</string>
......
...@@ -78,25 +78,25 @@ ...@@ -78,25 +78,25 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>bottom</string> </key> <key> <string>bottom</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
</item> </item>
<item> <item>
<key> <string>center</string> </key> <key> <string>center</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
</item> </item>
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
</item> </item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>your_portal_type</string> <string>your_portal_type</string>
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>right</string> </key> <key> <string>right</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
......
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,7 @@
</item> </item>
<item> <item>
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
</item> </item>
<item> <item>
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
</item> </item>
<item> <item>
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>size</string> </key>
......
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
</item> </item>
<item> <item>
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
121 122
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment