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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
erp5
Commits
e2278ed1
Commit
e2278ed1
authored
Jul 11, 2013
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code cleanup
parent
426ce7f0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
10 deletions
+7
-10
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_installBusinessTemplateListAction.xml
...5_core/TemplateTool_installBusinessTemplateListAction.xml
+4
-4
product/ERP5/bootstrap/erp5_core/bt/revision
product/ERP5/bootstrap/erp5_core/bt/revision
+1
-1
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getEnctype.xml
...ateItem/portal_skins/erp5_xhtml_style/Form_getEnctype.xml
+1
-4
product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_installBusinessTemplateListAction.xml
View file @
e2278ed1
...
@@ -66,14 +66,14 @@ for item in listbox:\n
...
@@ -66,14 +66,14 @@ for item in listbox:\n
else:\n
else:\n
choice = "nothing"\n
choice = "nothing"\n
bt_id, object_id = item[\'listbox_key\'].split(\'|\')\n
bt_id, object_id = item[\'listbox_key\'].split(\'|\')\n
bt_dict.setdefault(bt_id,
dict()
)[object_id] = choice\n
bt_dict.setdefault(bt_id,
{}
)[object_id] = choice\n
\n
\n
bt_title_list = []\n
bt_title_list = []\n
for bt_id in bt_id_list:\n
for bt_id in bt_id_list:\n
if bt_id not in bt_dict.keys():\n
try:\n
object_list={}\n
else:\n
object_list = bt_dict[bt_id]\n
object_list = bt_dict[bt_id]\n
except KeyError:\n
object_list = {}\n
if bt_id == bt_id_list[-1]:\n
if bt_id == bt_id_list[-1]:\n
update_catalog = kw.get(\'update_catalog\')\n
update_catalog = kw.get(\'update_catalog\')\n
update_translation = kw.get(\'update_translation\')\n
update_translation = kw.get(\'update_translation\')\n
...
...
product/ERP5/bootstrap/erp5_core/bt/revision
View file @
e2278ed1
41105
41106
\ No newline at end of file
\ No newline at end of file
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getEnctype.xml
View file @
e2278ed1
...
@@ -50,10 +50,7 @@
...
@@ -50,10 +50,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
enctype = getattr(context, "enctype")\n
<value>
<string>
return context.enctype or None\n
if enctype in (\'\', None):\n
return None\n
return enctype\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
...
...
product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
View file @
e2278ed1
1103
1104
\ No newline at end of file
\ 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