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
Tristan Cavelier
erp5
Commits
4f19c7c3
Commit
4f19c7c3
authored
Apr 29, 2013
by
Jérome Perrin
Committed by
Gabriel Monnerat
Apr 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use Base_redirect
parent
cf2805e6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_createDocumentFromAttachment.xml
...tal_skins/erp5_crm/Event_createDocumentFromAttachment.xml
+4
-6
bt5/erp5_crm/bt/revision
bt5/erp5_crm/bt/revision
+1
-1
No files found.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_createDocumentFromAttachment.xml
View file @
4f19c7c3
...
@@ -74,14 +74,12 @@ if dms_module is not None:\n
...
@@ -74,14 +74,12 @@ if dms_module is not None:\n
if len(uids) == 1:\n
if len(uids) == 1:\n
message = Base_translateString(\'${portal_type} created successfully.\',\n
message = Base_translateString(\'${portal_type} created successfully.\',\n
mapping={\'portal_type\':document.getTranslatedPortalType()})\n
mapping={\'portal_type\':document.getTranslatedPortalType()})\n
return context.REQUEST.RESPONSE.redirect(\n
return document.Base_redirect(keep_items=dict(portal_status_message=message))\n
\'%s/view?portal_status_message=%s\' % (document.absolute_url(), message)\n
\n
)\n
message = Base_translateString(\'${count} documents created successfully.\',\n
message = Base_translateString(\'${count} documents created successfully.\',\n
mapping={\'count\':len(uids)})\n
mapping={\'count\':len(uids)})\n
return context.REQUEST.RESPONSE.redirect(\n
\n
\'%s?portal_status_message=%s\' % (dms_module.absolute_url(), message)\n
return context.Base_redirect(keep_items=dict(portal_status_message=message))\n
)\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
...
...
bt5/erp5_crm/bt/revision
View file @
4f19c7c3
62
4
62
5
\ 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