#NEWLINE# @ app_template_filter ( 'get_actions_on_list' ) #NEWLINE# def get_actions_on_list( self , actions , modelview_name ) : #NEWLINE# #INDENT# res_actions = dict ( ) #NEWLINE# for action_key in actions : #NEWLINE# #INDENT# action = actions [ action_key ] #NEWLINE# if ( self . is_item_visible ( modelview_name . name , modelview_name ) and action . multiple ) : #NEWLINE# #INDENT# res_actions [ action_key ] = action #NEWLINE# #UNINDENT# #UNINDENT# return res_actions