#NEWLINE# def make_search_link( self , error ) : #NEWLINE# #INDENT# return '{text}<a href="{search_url}?q={doc_id}" target="_blank" title="{search_title}"><i class="fa fa-search"></i></a>&nbsp;<a href="{raw_url}?id={doc_id}" target="_blank" title="{raw_title}"><i class="fa fa-file"></i></a>&nbsp;<a href="{error_url}?error={error_id}" target="_blank" title="{error_title}"><i class="fa fa-share"></i></a>' . format ( text = '{}...' . format ( self . doc_id [ : 5 ] ) , search_url = reverse ( 'global_quick_find' ) , doc_id = error . doc_id , search_title = ( _ ( 'Search HQ for this document: %(doc_id)s' ) % { #NEWLINE# #INDENT# 'doc_id' : error . doc_id , #NEWLINE# #UNINDENT# } ) , raw_url = reverse ( 'raw_couch' ) , raw_title = ( _ ( 'Open the raw document: %(doc_id)s' ) % { #NEWLINE# #INDENT# 'doc_id' : error . doc_id , #NEWLINE# #UNINDENT# } ) , error_url = reverse ( EditPillowError . urlname ) , error_id = error . id , error_title = ( _ ( 'View the details of this error: %(error_id)s' ) % { #NEWLINE# #INDENT# 'error_id' : error . id , #NEWLINE# #UNINDENT# } ) )