1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/216c01ce6625/ Changeset: 216c01ce6625 User: greg Date: 2013-09-23 16:10:05 Summary: Redirect to "manage" rather than "view" when creating a new repository in the too shed. Affected #: 2 files diff -r 66d484a18d198725ab5f388d4e538ac86d9f081b -r 216c01ce66250f453425175d97094525b90f9108 lib/galaxy/webapps/tool_shed/controllers/repository.py --- a/lib/galaxy/webapps/tool_shed/controllers/repository.py +++ b/lib/galaxy/webapps/tool_shed/controllers/repository.py @@ -973,9 +973,9 @@ flush_needed = True if flush_needed: trans.sa_session.flush() - message = "Repository '%s' has been created." % repository.name + message = "Repository <b>%s</b> has been created." % str( repository.name ) trans.response.send_redirect( web.url_for( controller='repository', - action='view_repository', + action='manage_repository', message=message, id=trans.security.encode_id( repository.id ) ) ) repository_type_select_field = rt_util.build_repository_type_select_field( trans ) diff -r 66d484a18d198725ab5f388d4e538ac86d9f081b -r 216c01ce66250f453425175d97094525b90f9108 test/tool_shed/functional/test_0440_deleting_dependency_definitions.py --- a/test/tool_shed/functional/test_0440_deleting_dependency_definitions.py +++ b/test/tool_shed/functional/test_0440_deleting_dependency_definitions.py @@ -74,7 +74,7 @@ description='Description of Deleted Dependency Definitions category for test 0440' ) self.logout() self.login( email=common.test_user_1_email, username=common.test_user_1_name ) - strings_displayed = [ "Repository 'column_maker_0440' has been created" ] + strings_displayed = [ "Repository <b>column_maker_0440</b> has been created" ] repository = self.get_or_create_repository( name=column_repository_name, description=column_repository_description, long_description=column_repository_long_description, @@ -99,7 +99,7 @@ category = test_db_util.get_category_by_name( 'Test 0440 Deleted Dependency Definitions' ) self.logout() self.login( email=common.test_user_1_email, username=common.test_user_1_name ) - strings_displayed = [ "Repository 'convert_chars_0440' has been created" ] + strings_displayed = [ "Repository <b>convert_chars_0440</b> has been created" ] repository = self.get_or_create_repository( name=convert_repository_name, description=convert_repository_description, long_description=convert_repository_long_description, @@ -182,7 +182,7 @@ category = test_db_util.get_category_by_name( 'Test 0440 Deleted Dependency Definitions' ) self.logout() self.login( email=common.test_user_1_email, username=common.test_user_1_name ) - strings_displayed = [ "Repository 'bwa_package_0440' has been created" ] + strings_displayed = [ "Repository <b>bwa_package_0440</b> has been created" ] repository = self.get_or_create_repository( name=bwa_package_repository_name, description=bwa_package_repository_description, long_description=bwa_package_repository_long_description, @@ -208,7 +208,7 @@ category = test_db_util.get_category_by_name( 'Test 0440 Deleted Dependency Definitions' ) self.logout() self.login( email=common.test_user_1_email, username=common.test_user_1_name ) - strings_displayed = [ "Repository 'bwa_base_0440' has been created" ] + strings_displayed = [ "Repository <b>bwa_base_0440</b> has been created" ] repository = self.get_or_create_repository( name=bwa_base_repository_name, description=bwa_base_repository_description, long_description=bwa_base_repository_long_description, @@ -291,7 +291,7 @@ category = test_db_util.get_category_by_name( 'Test 0440 Deleted Dependency Definitions' ) self.logout() self.login( email=common.test_user_1_email, username=common.test_user_1_name ) - strings_displayed = [ "Repository 'bwa_tool_dependency_0440' has been created" ] + strings_displayed = [ "Repository <b>bwa_tool_dependency_0440</b> has been created" ] repository = self.get_or_create_repository( name=bwa_tool_dependency_repository_name, description=bwa_tool_dependency_repository_description, long_description=bwa_tool_dependency_repository_long_description, Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.