Commit af7a2071 authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

add a description to the attachment to give the model

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36998 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e06d385d
......@@ -69,13 +69,14 @@ if portal_type_object.getStepAttachment():\n
type = getattr(portal_type_object, "getAttachmentModel%s" % i, None)\n
if type is not None:\n
type = type()\n
attachement_format = \' Format : %s\' % type\n
else:\n
type = []\n
if requirement is not None and requirement() is not None:\n
required = require[requirement()]\n
if title is not None and title()!="" and attachment is not None and attachment():\n
attachement_type_dict[title()] = {\n
\'description\': "",\n
\'description\': attachement_format,\n
\'requirement\': required, \n
\'outcome\' : False,\n
\'type\' : type,\n
......@@ -136,6 +137,7 @@ return attachement_type_dict\n
<string>requirement</string>
<string>attachment</string>
<string>type</string>
<string>attachement_format</string>
<string>required</string>
<string>False</string>
<string>_write_</string>
......
......@@ -493,6 +493,7 @@ div.bottom_actions button.saveView span.image {\n
\n
.section_description{\n
padding-top: 0.5em;\n
margin-left: 0.8em;\n
font-size: 1.1em;\n
font-style: italic;\n
}\n
......
2010-07-08 mohamadou
* add a description to the attachment to give the model
2010-07-08 mayoro
* remove wrong condition
* change pending worklist permissions
......
718
\ No newline at end of file
719
\ 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