mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Back out 15716:77528372d36c, which breaks library creation success message.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user