def _getTabContent(self, params): return wcomponents.WContribModifTool().getHTML({ "deleteContributionURL": urlHandlers.UHContributionDelete.getURL(self._target) })
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)