Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
0e09866c
Commit
0e09866c
authored
Oct 30, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ods_style: support untranslatable_columns
parent
3ecb4c20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml
...ateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml
+3
-2
bt5/erp5_ods_style/bt/revision
bt5/erp5_ods_style/bt/revision
+1
-1
No files found.
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml
View file @
0e09866c
...
...
@@ -53,6 +53,7 @@
DateTime nocall: modules/DateTime/DateTime;\n
selection_name python: listbox.get_value(\'selection_name\', REQUEST=request);\n
editable_columns python: listbox.get_value(\'editable_columns\', REQUEST=request);\n
untranslatable_columns python: [x[0] for x in listbox.get_value(\'untranslatable_columns\', REQUEST=request)];\n
editable_fields python: dict([(column[0], getattr(listbox.aq_parent, \'listbox_%s\' % column[0], None)) for column in editable_columns]);\n
selection python: here.portal_selections.getSelectionFor(selection_name, REQUEST=request);\n
is_report_tree_mode selection/report_tree_mode | python: 0;\n
...
...
@@ -118,8 +119,8 @@
table:style-name=
\'report-column-title\'\n
table:number-columns-spanned=
\'1\'\n
office:value-type=
\'string\'
>
\n
<text:p
i18n:translate=
""
i18n:domain=
"ui"
tal:content=
"column_property"
>
\n
<
/text:p
>
\n
<text:p
i18n:translate=
""
i18n:domain=
"ui"
tal:content=
"column_property"
tal:condition=
"python: column_id in untranslatable_columns"
/
>
\n
<
text:p
i18n:translate=
""
i18n:domain=
"ui"
tal:content=
"column_property"
tal:condition=
"python: column_id not in untranslatable_columns"
/
>
\n
</table:table-cell>
\n
</tal:block>
\n
</tal:block>
\n
...
...
bt5/erp5_ods_style/bt/revision
View file @
0e09866c
256
\ No newline at end of file
257
\ No newline at end of file
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