Commit 1d31b4d8 authored by Jérome Perrin's avatar Jérome Perrin

The "portal_skin" field should not show the style when style is forced by...

The "portal_skin" field should not show the style when style is forced by passing portal_skin in the request

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18432 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd54bf81
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: context.Base_translateString("%s Style" % preferences.getPreference(\'preferred_report_style\', \'Print\'))</string> </value> <value> <string>python: request.get(\'your_portal_skin\', None) is None and context.Base_translateString("%s Style" % preferences.getPreference(\'preferred_report_style\', \'Print\')) or \'\'</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
653 654
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment