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
Labels
Merge Requests
141
Merge Requests
141
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
75710ed0
Commit
75710ed0
authored
Jul 24, 2015
by
Tristan Cavelier
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_project: translate title and comment in project coverage list
parent
6f113ced
Changes
1
Hide 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 @
75710ed0
...
...
@@ -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
...
...
Tristan Cavelier
@tc
mentioned in commit
d0a2a81c
·
Dec 22, 2015
mentioned in commit
d0a2a81c
mentioned in commit d0a2a81ca7111ed24aefb51f2a0aea55288504d3
Toggle commit list
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