Back out 15716:77528372d36c, which breaks library creation success message.

This commit is contained in:
Dave Bouvier
2014-12-12 11:30:27 -05:00
parent f286d3d09f
commit 72f3453876
@@ -162,12 +162,12 @@ class LibraryAdmin( BaseUIController ):
library.root_folder = root_folder
trans.sa_session.add_all( ( library, root_folder ) )
trans.sa_session.flush()
message = "The new library named '%s' has been created"
message = "The new library named '%s' has been created" % library.name
return trans.response.send_redirect( web.url_for( controller='library_common',
action='browse_library',
cntrller='library_admin',
id=trans.security.encode_id( library.id ),
message=escape( message ),
message=message,
status='done' ) )
return trans.fill_template( '/admin/library/new_library.mako', message=escape( message ), status=escape( status ) )
@web.expose