Ejemplo n.º 1
0
 def _getTabContent(self, params):
     return wcomponents.WContribModifTool().getHTML({
         "deleteContributionURL":
         urlHandlers.UHContributionDelete.getURL(self._target)
     })
Ejemplo n.º 2
0
    def _getTabContent(self, params):
        wc = wcomponents.WContribModifTool(self._target)
        pars = { \
"deleteContributionURL": urlHandlers.UHContributionDelete.getURL( self._target ), \
"MoveContributionURL": urlHandlers.UHContributionMove.getURL( self._target ) }
        return wc.getHTML(pars)