Commit d90ed0d1 authored by Yusei Tahara's avatar Yusei Tahara

2007-11-21 Yusei

* if document's title is empty, then display its id in document relation box.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17728 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3facca39
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PageTemplates.ZopePageTemplate</string>
<string>ZopePageTemplate</string>
</tuple>
<none/>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -53,7 +50,7 @@
<div class="title" i18n:translate="" i18n:domain="ui">Wiki successors</div>\n
<ul>\n
<li tal:repeat="doc doc_list">\n
<a tal:content="doc/title" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
<a tal:content="doc/getTitleOrId" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
</li>\n
</ul>\n
</div>\n
......@@ -63,7 +60,7 @@
<div class="title" i18n:translate="" i18n:domain="ui">Wiki predecessors</div>\n
<ul tal:define="doc_list python:here.Document_getRelatedDocumentList(relation_id=\'wiki_predecessor\')">\n
<li tal:repeat="doc doc_list">\n
<a tal:content="doc/title" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
<a tal:content="doc/getTitleOrId" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
</li>\n
</ul>\n
</div>\n
......@@ -71,10 +68,22 @@
]]></string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Document_viewImplicitRelationListWidget</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PageTemplates.ZopePageTemplate</string>
<string>ZopePageTemplate</string>
</tuple>
<none/>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -53,7 +50,7 @@
<div class="title" i18n:translate="" i18n:domain="ui">Related</div>\n
<ul>\n
<li tal:repeat="doc doc_list">\n
<a tal:content="doc/title" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
<a tal:content="doc/getTitleOrId" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
</li>\n
</ul>\n
</div>\n
......@@ -63,7 +60,7 @@
<div class="title" i18n:translate="" i18n:domain="ui">Similar</div>\n
<ul>\n
<li tal:repeat="doc doc_list">\n
<a tal:content="doc/title" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
<a tal:content="doc/getTitleOrId" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
</li>\n
</ul>\n
</div>\n
......@@ -73,7 +70,7 @@
<div class="title" i18n:translate="" i18n:domain="ui">Reference</div>\n
<ul>\n
<li tal:repeat="doc doc_list">\n
<a tal:content="doc/title" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
<a tal:content="doc/getTitleOrId" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
</li>\n
</ul>\n
</div>\n
......
2007-11-21 Yusei
* if document's title is empty, then display its id in document relation box.
2007-09-04 Kazuhiko
* use absolute_url_path instead of getPortalPath for better virtual host support.
......
592
\ No newline at end of file
594
\ 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