#NEWLINE# def get_message( self , commit , history_url ) : #NEWLINE# #INDENT# message = format_html ( '{0} {1}' , ( _ ( 'Commit %s has been approved' ) % commit ) , UndoApprovalsForm ( initial = { #NEWLINE# #INDENT# 'actions' : [ commit . pk ] , #NEWLINE# 'referer' : history_url , #NEWLINE# #UNINDENT# } ) . render ( self . request , self . site ) ) #NEWLINE# return commit