Commit 88b2e048 authored by Fabien Morin's avatar Fabien Morin

make possible to set a title on gadgets. If no title is set, the default title...

make possible to set a title on gadgets. If no title is set, the default title of portal_gadget is used.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30487 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a84123d6
......@@ -96,6 +96,7 @@
<key> <string>left</string> </key>
<value>
<list>
<string>my_title</string>
<string>my_preferred_width</string>
<string>my_preferred_height</string>
</list>
......
......@@ -96,6 +96,7 @@
<key> <string>left</string> </key>
<value>
<list>
<string>my_title</string>
<string>my_preferred_width</string>
<string>my_preferred_height</string>
<string>my_preferred_title</string>
......
......@@ -84,6 +84,7 @@
<key> <string>center</string> </key>
<value>
<list>
<string>my_title</string>
<string>my_listbox_selection_list_lines</string>
</list>
</value>
......
......@@ -84,6 +84,7 @@
<key> <string>center</string> </key>
<value>
<list>
<string>my_title</string>
<string>my_preferred_rss_feed</string>
<string>my_preferred_username</string>
<string>my_preferred_password</string>
......
......@@ -94,7 +94,7 @@
title="Minimize"></a>\n
</tal:block>\n
<span class="gadget_title" \n
tal:content="python: here.Base_translateString(gadget.getTitle())"/>\n
tal:content="python: here.Base_translateString(box.hasTitle() and box.getTitle() or gadget.getTitle())"/>\n
</span>\n
</h3>\n
\n
......
418
\ No newline at end of file
419
\ 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