From 25cfb3305f745113ee4745b18b0867ee462aaf47 Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Fri, 29 Oct 2010 12:07:44 +0000 Subject: [PATCH] remove XXX and improve comment git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39683 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_web_blog/WebSection_getAuthorName.xml | 10 +++------- bt5/erp5_web_blog/bt/revision | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getAuthorName.xml b/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getAuthorName.xml index b2fffa61e7..c5c351a82c 100644 --- a/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getAuthorName.xml +++ b/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getAuthorName.xml @@ -51,12 +51,8 @@ <item> <key> <string>_body</string> </key> <value> <string>"""\n - This simple script returns the author name of the current context.\n -\n - TODO: XXX-JPS\n - - I am sure this kind of script could be more generic in ERP5\n - and useful in other places (not only blog). Consider API\n - design.\n + This simple script returns the contributor title of the current context.\n + It has a proxy_role of manager to allowed anonymous to get the contributor title\n """\n \n return context.getContributorTitle() or context.Base_translateString("Unknown User")\n @@ -126,7 +122,7 @@ return context.getContributorTitle() or context.Base_translateString("Unknown Us </item> <item> <key> <string>title</string> </key> - <value> <string>Get the author name from a blog post</string> </value> + <value> <string>Get the contributor title from a document</string> </value> </item> <item> <key> <string>warnings</string> </key> diff --git a/bt5/erp5_web_blog/bt/revision b/bt5/erp5_web_blog/bt/revision index eebd1d10b6..b2412e34df 100644 --- a/bt5/erp5_web_blog/bt/revision +++ b/bt5/erp5_web_blog/bt/revision @@ -1 +1 @@ -61 \ No newline at end of file +62 \ No newline at end of file -- 2.30.9