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
f05421b8
Commit
f05421b8
authored
Sep 15, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Project: Translate requirement document
parent
d2c8a922
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/RequirementDocument_viewDetailedReportAsOdt.xml
...5_project/RequirementDocument_viewDetailedReportAsOdt.xml
+8
-9
No files found.
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/RequirementDocument_viewDetailedReportAsOdt.xml
View file @
f05421b8
...
...
@@ -103,10 +103,10 @@ AAA=</string> </value>
global reference_list python:[here.getReference(\'R\')]"
>
\n
<tal:block
metal:define-macro=
"line"
\n
tal:define=
"requirement_base python:\'-\'.join(reference_list)"
>
\n
<text:h
text:outline-level=
\'1\'
text:style-name=
\'Heading_20_1\'
tal:content=
"python:\'%s %s\' % (current_requirement.getReference(requirement_base), current_requirement.getTitle())"
\n
<text:h
text:outline-level=
\'1\'
text:style-name=
\'Heading_20_1\'
tal:content=
"python:\'%s %s\' % (current_requirement.getReference(requirement_base), current_requirement.getT
ranslatedT
itle())"
\n
tal:attributes=
"text:outline-level python:\'%s\' % depth;\n
text:style-name python:\'Heading_20_%s\' % depth"
><tal:trans
i18n:domain=
"erp5_ui"
i18n:translate=
"Project Line"
>
Project Line
</tal:trans></text:h>
\n
<text:p
text:style-name=
\'Text_20_body\'
tal:content=
"current_requirement/getDescription"
\n
<text:p
text:style-name=
\'Text_20_body\'
tal:content=
"current_requirement/get
Translated
Description"
\n
tal:condition=
"current_requirement/getDescription"
>
Description of project line.
</text:p>
\n
<tal:block
tal:define=
"requirement_list python:current_requirement.contentValues(portal_type=\'Requirement\', sort_on=((\'int_index\',\'ascending\', \'int\'),), checked_permission=\'View\')"
>
\n
<!-- make sure there are some lines to display in the table -->
\n
...
...
@@ -142,13 +142,13 @@ AAA=</string> </value>
<text:p
text:style-name=
\'Table_20_Contents\'
tal:content=
"python:requirement.getReference(\'%s-%s\' % (requirement_base, requirement.getIntIndex(requirement.getId())))"
>
Reference here
</text:p>
\n
</table:table-cell>
\n
<table:table-cell
table:style-name=
\'RequirementList.A2\'
office:value-type=
\'string\'
>
\n
<text:p
text:style-name=
\'Table_20_Contents\'
tal:content=
"requirement/getTitle"
>
Title here
</text:p>
\n
<text:p
text:style-name=
\'Table_20_Contents\'
tal:content=
"requirement/getT
ranslatedT
itle"
>
Title here
</text:p>
\n
</table:table-cell>
\n
<table:table-cell
table:style-name=
\'RequirementList.C2\'
office:value-type=
\'string\'
>
\n
<text:p
text:style-name=
\'Table_20_Contents\'
tal:content=
"requirement/getDescription"
>
Description here
</text:p>
\n
<text:p
text:style-name=
\'Table_20_Contents\'
tal:content=
"requirement/get
Translated
Description"
>
Description here
</text:p>
\n
<text:p
text:style-name=
\'Comment\'\n
tal:condition=
"python: request.get(\'show_comment\') and requirement.getComment()"
\n
tal:content=
"requirement/getComment"
>
Comment here
</text:p>
\n
tal:condition=
"python: request.get(\'show_comment\') and requirement.get
Translated
Comment()"
\n
tal:content=
"requirement/get
Translated
Comment"
>
Comment here
</text:p>
\n
</table:table-cell>
\n
</table:table-row>
\n
</tal:block>
\n
...
...
@@ -171,8 +171,7 @@ AAA=</string> </value>
</tal:block>
\n
</office:text>
\n
</office:body>
\n
</office:document-content>
\n
</office:document-content>
]]>
</unicode>
</value>
</item>
...
...
@@ -198,7 +197,7 @@ AAA=</string> </value>
</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