Commit a3982bc0 authored by Ivan Tyagov's avatar Ivan Tyagov

Get current gadget title from first gadget's user preferences, then gadget's...

Get current gadget title from first gadget's user preferences, then gadget's title and finally main gadget template's title.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39311 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d3fccfa8
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -37,7 +34,7 @@ ...@@ -37,7 +34,7 @@
</item> </item>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <unicode encoding="cdata"><![CDATA[
<tal:block \n <tal:block \n
tal:repeat="box_id python: options[\'section_layout\']"\n tal:repeat="box_id python: options[\'section_layout\']"\n
...@@ -94,7 +91,7 @@ ...@@ -94,7 +91,7 @@
title="Minimize"></a>\n title="Minimize"></a>\n
</tal:block>\n </tal:block>\n
<span class="gadget_title" \n <span class="gadget_title" \n
tal:content="python: here.Base_translateString(box.getProperty(\'preferred_header_title\', None) or gadget.getTitle())"/>\n tal:content="python: here.Base_translateString(box.getProperty(\'preferred_header_title\', box.getProperty(\'title\', None)) or gadget.getTitle())"/>\n
</span>\n </span>\n
</h3>\n </h3>\n
\n \n
...@@ -205,7 +202,7 @@ ...@@ -205,7 +202,7 @@
</tal:block>\n </tal:block>\n
]]></string> </value> ]]></unicode> </value>
</item> </item>
<item> <item>
<key> <string>content_type</string> </key> <key> <string>content_type</string> </key>
...@@ -219,9 +216,13 @@ ...@@ -219,9 +216,13 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>KnowledgePad_viewColumnWidget</string> </value> <value> <string>KnowledgePad_viewColumnWidget</string> </value>
</item> </item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Render boxes for a column</string> </value> <value> <unicode>Render boxes for a column</unicode> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
559 560
\ 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