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
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
Hide 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
else:\n
choice = "nothing"\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
bt_title_list = []\n
for bt_id in bt_id_list:\n
if bt_id not in bt_dict.keys():\n
object_list={}\n
else:\n
try:\n
object_list = bt_dict[bt_id]\n
except KeyError:\n
object_list = {}\n
if bt_id == bt_id_list[-1]:\n
update_catalog = kw.get(\'update_catalog\')\n
update_translation = kw.get(\'update_translation\')\n
...
...
product/ERP5/bootstrap/erp5_core/bt/revision
View file @
e2278ed1
41105
\ No newline at end of file
41106
\ 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 @@
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
enctype = getattr(context, "enctype")\n
if enctype in (\'\', None):\n
return None\n
return enctype\n
<value>
<string>
return context.enctype or None\n
</string>
</value>
</item>
<item>
...
...
product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
View file @
e2278ed1
1103
\ No newline at end of file
1104
\ 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