#NEWLINE# def get_context_data( self , **kwargs ) : #NEWLINE# #INDENT# context = super ( DetailView , self ) . get_context_data ( ** kwargs ) #NEWLINE# snapshot = self . get_data ( ) #NEWLINE# table = vol_snapshot_tables . VolumeSnapshotsTable ( self . request ) #NEWLINE# context [ 'snapshot' ] = snapshot #NEWLINE# context [ 'url' ] = self . get_redirect_url ( ) #NEWLINE# context [ 'actions' ] = table . render_row_actions ( snapshot ) #NEWLINE# context [ 'page_title' ] = ( _ ( 'Volume Snapshot Details: %(snapshot_name)s' ) % { #NEWLINE# #INDENT# 'snapshot_name' : snapshot . name , #NEWLINE# #UNINDENT# } ) #NEWLINE# return context