commit/galaxy-central: dan: Add a link to allow the user to switch to the new history directly after cloning.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/2f0dc1362384/ changeset: 2f0dc1362384 user: dan date: 2011-10-06 16:59:50 summary: Add a link to allow the user to switch to the new history directly after cloning. affected #: 1 file (-1 bytes) --- a/lib/galaxy/web/controllers/history.py Thu Oct 06 09:34:51 2011 -0400 +++ b/lib/galaxy/web/controllers/history.py Thu Oct 06 10:59:50 2011 -0400 @@ -1214,7 +1214,7 @@ name += " (active items only)" new_history = history.copy( name=name, target_user=user ) if len( histories ) == 1: - msg = 'Clone with name "%s" is now included in your previously stored histories.' % new_history.name + msg = 'Clone with name "<a href="%s" target="_top">%s</a>" is now included in your previously stored histories.' % ( url_for( controller="history", action="switch_to_history", hist_id=trans.security.encode_id( new_history.id ) ) , new_history.name ) else: msg = '%d cloned histories are now included in your previously stored histories.' % len( histories ) return trans.show_ok_message( msg ) 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.
participants (1)
-
Bitbucket