Commit e6b1a83e authored by Fabien Morin's avatar Fabien Morin

2008-04-02 fabien

* use searchFolder instead of contentValues to get the use case.
* get the 'validated' use cases instead of the draft.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20282 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 90ddc622
......@@ -146,8 +146,7 @@
\n
<text:p text:style-name=\'Text body\'>Nexedi SA</text:p>\n
\n
<div tal:omit-tag=\'\' tal:repeat=\'usecase python:here.objectValues(portal_type="Use Case",sort_on=(("int_index",),)) or (context,)\'>\n
<tal:block tal:condition="python: usecase.getValidationState() == \'draft\'">\n
<div tal:omit-tag=\'\' tal:repeat=\'usecase python:here.searchFolder(portal_type="Use Case",sort_on=(("int_index",),), validation_state="validated") or (context,)\'>\n
<text:h text:style-name=\'Heading 2\' text:level=\'2\' i18n:domain="ui" i18n:translate="">Use Case : <span tal:replace=\'usecase/getTitle\'>Title</span></text:h>\n
\n
<text:p text:style-name=\'Text body\' tal:content=\'usecase/getDescription\'>Use Case Description</text:p>\n
......@@ -271,7 +270,6 @@
\n
\n
\n
</tal:block>\n
</div>\n
</office:body>\n
</office:document-content>\n
......
2008-04-02 fabien
* use searchFolder instead of contentValues to get the use case.
* get the 'validated' use cases instead of the draft.
2008-03-17 fabien
* Translate and reindent UseCaseModule_viewUseCaseReportAsSxw.
make it working on Use Case Object and Module instead of just module.
......
33
\ No newline at end of file
36
\ 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