def _getPageContent(self, params): self._createTabCtrl() banner = "" if self._canModify or self._isPRM: banner = wcomponents.WTimetableBannerModif(self._getAW(), self._target).getHTML() else: if self._conf.getConfPaperReview().isRefereeContribution( self._rh._getUser(), self._contrib): banner = wcomponents.WListOfPapersToReview( self._target, "referee").getHTML() if self._conf.getConfPaperReview().isReviewerContribution( self._rh._getUser(), self._contrib): banner = wcomponents.WListOfPapersToReview( self._target, "reviewer").getHTML() if self._conf.getConfPaperReview().isEditorContribution( self._rh._getUser(), self._contrib): banner = wcomponents.WListOfPapersToReview( self._target, "editor").getHTML() if banner == "": banner = wcomponents.WTimetableBannerModif(self._getAW(), self._target).getHTML() body = wcomponents.WTabControl(self._tabCtrl, self._getAW()).getHTML( self._getTabContent(params)) return banner + body
def _getPageContent( self, params ): self._createTabCtrl() banner = wcomponents.WTimetableBannerModif(self._getAW(), self._target).getHTML() body = wcomponents.WTabControl( self._tabCtrl, self._getAW() ).getHTML( self._getTabContent( params ) ) return banner + body