Remove unneeded messages.mako.

This commit is contained in:
John Chilton
2017-08-10 17:53:21 +02:00
committed by E Rasche
parent 4c36b5a7a1
commit a2b02065eb
2 changed files with 0 additions and 78 deletions
-12
View File
@@ -853,18 +853,6 @@ class GalaxyWebTransaction( base.DefaultWebTransaction,
"""
return self.fill_template( "message.mako", status=type, message=message, refresh_frames=refresh_frames, cont=cont, use_panels=use_panels, active_view=active_view )
def show_messages( self, messages, refresh_frames=[], cont=None, use_panels=False, active_view="" ):
"""
Convenience method for displaying a simple page with a multiple messages.
`messages`: list of tuple (message, type) where type is one of "error",
"warning", "info", or "done"
`refresh_frames`: names of frames in the interface that should be
refreshed when the message is displayed
"""
return self.fill_template( "messages.mako", messages=messages, refresh_frames=refresh_frames, cont=cont, use_panels=use_panels, active_view=active_view )
def show_error_message( self, message, refresh_frames=[], use_panels=False, active_view="" ):
"""
Convenience method for displaying an error message. See `show_message`.