Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
fa304045
Commit
fa304045
authored
Jul 24, 2015
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_project: add images to detailed report for requirement document
parent
75710ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/RequirementDocument_viewDetailedReportAsOdt.xml
...5_project/RequirementDocument_viewDetailedReportAsOdt.xml
+9
-0
No files found.
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/RequirementDocument_viewDetailedReportAsOdt.xml
View file @
fa304045
...
...
@@ -149,6 +149,15 @@ AAA=</string> </value>
<text:p
text:style-name=
\'Comment\'\n
tal:condition=
"python: request.get(\'show_comment\') and requirement.getTranslatedComment()"
\n
tal:content=
"requirement/getTranslatedComment"
>
Comment here
</text:p>
\n
<tal:block
tal:repeat=
"image python:here.portal_catalog(follow_up_uid=requirement.getUid(), portal_type=\'Image\')"
>
\n
<text:p
text:style-name=
"P1"
>
\n
<draw:frame
draw:style-name=
"fr1"
draw:name=
"Image1"
text:anchor-type=
"as-char"
svg:width=
"3in"
draw:z-index=
"0"
\n
tal:attributes=
"draw:name python:\'embedded_erp5_image_%s\' % image.getId();\n
svg:height python: \'%1.1fin\' % (3.0 * image.getHeight() / (image.getWidth() or 1.0))"
>
\n
<draw:image><office:binary-data
tal:content=
"python:str(image.convert(format=\'png\')[1]).encode(\'base64\')"
/></draw:image>
\n
</draw:frame>
\n
</text:p>
\n
</tal:block>
\n
</table:table-cell>
\n
</table:table-row>
\n
</tal:block>
\n
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment