Commit c0155b49 authored by Noah Brackenbury's avatar Noah Brackenbury

fixing current_object.getTitle()

parents 7ed3271f 69b14a2e
...@@ -57,13 +57,23 @@ if assign: ...@@ -57,13 +57,23 @@ if assign:
# Redirect to new object # Redirect to new object
if assign == None: if assign == None:
message = translateString( message = translateString(
<<<<<<< HEAD
"Created and associated a new ${ticket_type} for ${title}. Here is a recommended response.", "Created and associated a new ${ticket_type} for ${title}. Here is a recommended response.",
mapping=dict(ticket_type = translateString(ticket_type), title = current_object.getTitle())) mapping=dict(ticket_type = translateString(ticket_type), title = current_object.getTitle()))
=======
"Created and associated a new ${ticket_type} for " + current_object.getTitle()+ ". Here is a recommended response.",
mapping=dict(ticket_type = translateString(ticket_type)))
>>>>>>> 69b14a2e22c9b7d3333c5f785b648eaea1b812f7
return current_object.Base_redirect('WebMessage_viewCreateResponseDialog', keep_items={'portal_status_message': message}) return current_object.Base_redirect('WebMessage_viewCreateResponseDialog', keep_items={'portal_status_message': message})
else: else:
name = assign[0] name = assign[0]
message = translateString( message = translateString(
<<<<<<< HEAD
"Created and associated a new ${ticket_type} for ${title}. " + name + " is recommended to handle it", "Created and associated a new ${ticket_type} for ${title}. " + name + " is recommended to handle it",
mapping=dict(ticket_type = translateString(ticket_type), title = current_object.getTitle())) mapping=dict(ticket_type = translateString(ticket_type), title = current_object.getTitle()))
=======
"Created and associated a new ${ticket_type} for " + current_object.getTitle() + ". " + name + " is recommended to handle it",
mapping=dict(ticket_type = translateString(ticket_type)))
>>>>>>> 69b14a2e22c9b7d3333c5f785b648eaea1b812f7
return new_object.Base_redirect('view', keep_items={'portal_status_message': message}) return new_object.Base_redirect('view', keep_items={'portal_status_message': message})
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