Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
fa93b2c9
Commit
fa93b2c9
authored
Jul 24, 2015
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_project: translate title and comment in project coverage list
parent
9c0b1085
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/RequirementDocument_getProjectCoverageList.xml
...p5_project/RequirementDocument_getProjectCoverageList.xml
+5
-5
No files found.
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/RequirementDocument_getProjectCoverageList.xml
View file @
fa93b2c9
...
...
@@ -58,8 +58,8 @@ for r in context.contentValues(portal_type= "Requirement", sort_on = ((\'int_ind
if not requirement_related_list:\n
if not r.contentValues(portal_type= "Requirement", sort_on = ((\'int_index\',\'ascending\', \'int\'),), checked_permission=\'View\'):\n
result.append({\'requirement_reference\': r.Requirement_getDefaultReference(),\n
\'requirement_title\': r.getTitle(),\n
\'requirement_comment\': r.getComment(),\n
\'requirement_title\': r.getT
ranslatedT
itle(),\n
\'requirement_comment\': r.get
Translated
Comment(),\n
\'repeat_index\' : 0,\n
\'repeat_count\' : 1,\n
\'project_reference\': \'Not covered\',\n
...
...
@@ -69,12 +69,12 @@ for r in context.contentValues(portal_type= "Requirement", sort_on = ((\'int_ind
i = 0\n
for p in requirement_related_list:\n
result.append({\'requirement_reference\': r.Requirement_getDefaultReference(),\n
\'requirement_title\': r.getTitle(),\n
\'requirement_comment\': r.getComment(),\n
\'requirement_title\': r.getT
ranslatedT
itle(),\n
\'requirement_comment\': r.get
Translated
Comment(),\n
\'repeat_index\' : i,\n
\'repeat_count\' : requirement_related_count,\n
\'project_reference\': p.Project_getDefaultReference(),\n
\'project_title\': p.getTitle(),\n
\'project_title\': p.getT
ranslatedT
itle(),\n
\'stop_date\': p.getStopDate()})\n
i += 1\n
result.extend(r.RequirementDocument_getProjectCoverageList())\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