Commit 20393e27 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

try to use description and subject_list if exist.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28653 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7c0db104
...@@ -49,17 +49,18 @@ IDEAS:\n ...@@ -49,17 +49,18 @@ IDEAS:\n
-->\n -->\n
</tal:block>\n </tal:block>\n
<tal:block metal:define-macro="master">\n <tal:block metal:define-macro="master">\n
<tal:block tal:define="global_definitions_macros here/global_definitions/macros">\n <tal:block tal:define="global_definitions_macros here/global_definitions/macros;\n
subject_list subject_list | python:here.getProperty(\'subject_list\', []) or []">\n
<tal:block metal:use-macro="global_definitions_macros/header_definitions" />\n <tal:block metal:use-macro="global_definitions_macros/header_definitions" />\n
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n
<head>\n <head>\n
<base tal:attributes="href python: \'%s/\' % (url, )" />\n <base tal:attributes="href python: \'%s/\' % (url, )" />\n
<meta name="generator" content="ERP5 - Copyright (C) 2001 - 2009. All rights reserved." />\n <meta name="generator" content="ERP5 - Copyright (C) 2001 - 2008. All rights reserved." />\n
<meta name="description" content=""\n <meta name="description" content=""\n
tal:attributes="content title | string:ERP5 Free Open Source ERP and CRM" />\n tal:attributes="content description | title | string:ERP5 Free Open Source ERP and CRM" />\n
<meta name="keywords" content=""\n <meta name="keywords" content=""\n
tal:attributes="content python:\', \'.join(here.getProperty(\'subject_list\', []) or [])" />\n tal:attributes="content python:\', \'.join(subject_list)" />\n
<meta name="robots" content="index, follow" />\n <meta name="robots" content="index, follow" />\n
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n
<meta http-equiv="Content-Script-Type" content="text/javascript" />\n <meta http-equiv="Content-Script-Type" content="text/javascript" />\n
......
828 829
\ 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