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
Laurent S
erp5
Commits
aeaab669
Commit
aeaab669
authored
May 02, 2017
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_consulting: Fix UseCaseModule_viewUseCaseReportAsSxw and use selection
parent
856cd845
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCaseModule_viewUseCaseReportAsSxw.oot
.../erp5_consulting/UseCaseModule_viewUseCaseReportAsSxw.oot
+5
-4
bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCaseModule_viewUseCaseReportAsSxw.xml
.../erp5_consulting/UseCaseModule_viewUseCaseReportAsSxw.xml
+1
-1
No files found.
bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCaseModule_viewUseCaseReportAsSxw.oot
View file @
aeaab669
...
...
@@ -88,7 +88,7 @@
<text:p
text:style-name=
'Text body'
>
Nexedi SA
</text:p>
<div
tal:omit-tag=
''
tal:repeat=
'usecase python:here.
searchFolder(portal_type="Use Case",sort_on=(("int_index",),), validation_state="validated") or (context,
)'
>
<div
tal:omit-tag=
''
tal:repeat=
'usecase python:here.
getPortalObject().portal_selections.callSelectionFor("use_case_selection"
)'
>
<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>
<text:p
text:style-name=
'Text body'
tal:replace=
"structure python: render_text(usecase.getDescription(), {'{http://openoffice.org/2000/text}style-name': 'Text body'})"
>
Use Case Description
</text:p>
...
...
@@ -105,8 +105,9 @@
svg:width=
"12cm"
svg:height=
"7.516cm"
xlink:type=
"simple"
xlink:show=
"embed"
xlink:actuate=
"onLoad"
tal:attributes=
"xlink:href python:request.oo_builder.addImage(image.index_html(None,None));
svg:height python:'%scm' % (12 * float(image.height()) / max(float(image.width()),0))"
/>
tal:condition=
"python: image.width != 0"
tal:attributes=
"xlink:href python:ooo_builder.addImage(image.index_html(None,None));
svg:height python:'%scm' % (12 * float(image.height) / max(float(image.width),0))"
/>
</text:p>
</tal:block>
...
...
@@ -215,4 +216,4 @@
</div>
</office:body>
</office:document-content>
</office:document-content>
\ No newline at end of file
bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCaseModule_viewUseCaseReportAsSxw.xml
View file @
aeaab669
...
...
@@ -64,7 +64,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<
string></string
>
</value>
<value>
<
unicode></unicode
>
</value>
</item>
</dictionary>
</pickle>
...
...
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