Ejemplo n.º 1
0
 def get_display_url(self, data, trans):
     dataset_hash, user_hash = encode_dataset_user(trans, data, None)
     return url_for(controller='dataset',
                    action="display_application",
                    dataset_id=dataset_hash,
                    user_id=user_hash,
                    app_name=urllib.quote_plus(self.display_application.id),
                    link_name=urllib.quote_plus(self.id),
                    app_action=None)
Ejemplo n.º 2
0
 def get_display_url( self, data, trans ):
     dataset_hash, user_hash = encode_dataset_user( trans, data, None )
     return url_for( controller='/dataset',
                     action="display_application",
                     dataset_id=dataset_hash,
                     user_id=user_hash,
                     app_name=urllib.quote_plus( self.display_application.id ),
                     link_name=urllib.quote_plus( self.id ),
                     app_action=None )