From 30acbdffcd3554aed7808c4bf291a3301d32a019 Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Fri, 17 Sep 2010 09:10:26 +0000 Subject: [PATCH] Format date. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38443 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Document_getSummaryAsHTML.xml | 14 +++++++++++++- bt5/erp5_web/bt/revision | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Document_getSummaryAsHTML.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Document_getSummaryAsHTML.xml index 7624a9ae19..707fff7e62 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Document_getSummaryAsHTML.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Document_getSummaryAsHTML.xml @@ -42,7 +42,7 @@ display string:thumbnail;\n icon here/getIcon;\n title here/getTitle;\n - modification_date python: here.getModificationDate();\n + modification_date python: here.Base_FormatDate(here.getModificationDate(),hour_minute=1);\n format python: here.getObject().portal_preferences.getPreference(\'preferred_image_format\', \'png\');\n description python: here.getDescription();\n box_relative_url python: request.get(\'box_relative_url\', \'\');\n @@ -87,10 +87,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_getSummaryAsHTML</string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index 3d3f9551e6..14e963ae25 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -973 \ No newline at end of file +975 \ No newline at end of file -- 2.30.9