#NEWLINE# @ staticmethod #NEWLINE# def inline( item ) : #NEWLINE# #INDENT# ' Render this link for an inline component ' #NEWLINE# if ( not item . authorized ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# popup_link = A ( item . label , _href = item . url ( format = 'popup' ) , _class = 's3_add_resource_link action-lnk' , _id = ( '%s_%s_add' % ( popup_link . vars [ 'caller' ] , item . function ) ) , _target = 'top' , _title = item . opts . info ) #NEWLINE# return DIV ( popup_link , _class = 's3_inline_add_resource_link' )