Exemplo n.º 1
0
    def _createTabCtrl(self):
        self._tabCtrl = wcomponents.TabControl()

        if self._isPRM or self._canModify:
            self._subTabPaperReviewingSetup = self._tabCtrl.newTab( "revsetup", _("Setup"),\
                urlHandlers.UHConfModifReviewingPaperSetup.getURL( self._conf ) )
            self._tabPaperReviewingControl = self._tabCtrl.newTab( "revcontrol", _("Team"),\
                    urlHandlers.UHConfModifReviewingControl.getURL( self._conf ) )
            self._tabUserCompetencesReviewing = self._tabCtrl.newTab( "revcompetences", _("Competences"),\
                    urlHandlers.UHConfModifUserCompetences.getURL( self._conf ) )


        if self._showAssignContributions:
            self._tabAssignContributions = self._tabCtrl.newTab( "assignContributions", _("Assign papers"),\
                    urlHandlers.UHConfModifReviewingAssignContributionsList.getURL( self._conf ) )

        if self._showListContribToJudge and (self._conf.getConfPaperReview().getChoice() == CPR.CONTENT_REVIEWING or self._conf.getConfPaperReview().getChoice() == CPR.CONTENT_AND_LAYOUT_REVIEWING):
            self._tabListContribToJudge = self._tabCtrl.newTab( "contributionsToJudge", _("Assess as Referee"),\
                    urlHandlers.UHConfModifListContribToJudge.getURL( self._conf ) )
        if self._showListContribToJudgeAsReviewer and (self._conf.getConfPaperReview().getChoice() == CPR.CONTENT_REVIEWING or self._conf.getConfPaperReview().getChoice() == CPR.CONTENT_AND_LAYOUT_REVIEWING):
            self._tabListContribToJudgeAsReviewer = self._tabCtrl.newTab( "contributionsToJudge", _("Assess as Content Reviewer"),\
                    urlHandlers.UHConfModifListContribToJudgeAsReviewer.getURL( self._conf ) )
        if self._showListContribToJudgeAsEditor and (self._conf.getConfPaperReview().getChoice() == CPR.LAYOUT_REVIEWING or self._conf.getConfPaperReview().getChoice() == CPR.CONTENT_AND_LAYOUT_REVIEWING):
            self._tabListContribToJudgeAsEditor = self._tabCtrl.newTab( "contributionsToJudge", _("Assess as Layout Reviewer"),\
                    urlHandlers.UHConfModifListContribToJudgeAsEditor.getURL( self._conf ) )

        self._setActiveTab()
Exemplo n.º 2
0
 def _createTabCtrl(self):
     self._tabCtrl = wcomponents.TabControl()
     self._tabMain = self._tabCtrl.newTab( "main", _("Main"), \
             urlHandlers.UHFileModification.getURL( self._file ) )
     self._tabAC = self._tabCtrl.newTab( "ac", _("Protection"), \
             urlHandlers.UHFileModifAC.getURL( self._file ) )
     self._setActiveTab()
Exemplo n.º 3
0
    def _createTabCtrl(self):
        type = self._session.getConference().getType()
        self._tabCtrl = wcomponents.TabControl()
        self._tabMain = self._tabCtrl.newTab( "main", _("Main"), \
                urlHandlers.UHSessionModification.getURL( self._session ) )
        self._tabContribs=self._tabCtrl.newTab( "contribs", _("Contributions"), \
                urlHandlers.UHSessionModContribList.getURL(self._session) )
        self._tabTimetable=self._tabCtrl.newTab( "sessionTimetable", _("Session timetable"), \
                urlHandlers.UHSessionModifSchedule.getURL(self._session) )
        self._tabComm = self._tabCtrl.newTab( "comment", _("Comment"), \
                urlHandlers.UHSessionModifComm.getURL( self._session ) )
        self._tab_attachments = self._tabCtrl.newTab(
            "attachments", _("Materials"),
            url_for('attachments.management', self._session))
        self._tabAC = self._tabCtrl.newTab( "ac", _("Protection"), \
                urlHandlers.UHSessionModifAC.getURL( self._session ) )

        canModify = self._session.canModify(self._getAW())
        self._tabAC.setEnabled(canModify)
        self._tabTools = self._tabCtrl.newTab( "tools", _("Tools"), \
                urlHandlers.UHSessionModifTools.getURL( self._session ) )
        self._tabTools.setEnabled(canModify)
        self._setActiveTab()
        self._setupTabCtrl()
        if type != "conference":
            self._tabContribs.disable()
Exemplo n.º 4
0
 def _createTabCtrl(self):
     self._tabCtrl = wcomponents.TabControl()
     
     if self._isPRM or self._canModify:
         self._tabPaperReviewingSetup = self._tabCtrl.newTab( "revsetup", "Paper setup",\
                 urlHandlers.UHConfModifReviewingPaperSetup.getURL( self._conf ) )
         
     if self._isAM or self._canModify:
         self._tabAbstractReviewingSetup = self._tabCtrl.newTab( "revsetup", "Abstract setup",\
                 urlHandlers.UHConfModifReviewingAbstractSetup.getURL(target = self._conf) )
         
     if self._isPRM or self._isAM or self._canModify:
         self._tabReviewingControl = self._tabCtrl.newTab( "revcontrol", "Control",\
                 urlHandlers.UHConfModifReviewingControl.getURL( self._conf ) )
         
     if self._showAssignContributions:
         self._tabAssignContributions = self._tabCtrl.newTab( "assignContributions", "Assign Contributions",\
                 urlHandlers.UHConfModifReviewingAssignContributionsList.getURL( self._conf ) )   
     
     if self._isPRM or self._isAM or self._canModify:    
         self._tabUserCompetences = self._tabCtrl.newTab( "revcompetences", "User competences",\
                 urlHandlers.UHConfModifUserCompetences.getURL( self._conf ) )
         
     if self._showListContribToJudge:
         self._tabListContribToJudge = self._tabCtrl.newTab( "contributionsToJudge", "Contributions to judge",\
                 urlHandlers.UHConfModifListContribToJudge.getURL( self._conf ) ) 
     
     self._setActiveTab()
Exemplo n.º 5
0
    def _createTabCtrl(self):
        self._tabCtrl = wcomponents.TabControl()

        self._tabRegFormSetup = self._tabCtrl.newTab(
            "regformsetup", _("Setup"),
            urlHandlers.UHConfModifRegForm.getURL(self._conf))
        self._tabRegistrationPreview = self._tabCtrl.newTab(
            "edit", _("Edit"),
            urlHandlers.UHConfModifRegistrationModification.getURL(self._conf))
        self._tabRegistrants = self._tabCtrl.newTab(
            "registrants", _("Registrants"),
            urlHandlers.UHConfModifRegistrantList.getURL(self._conf))
        self._tabStats = self._tabCtrl.newTab(
            'stats', _("Stats"),
            url_for('event_mgmt.registration_stats', self._conf))
        self._tabPayment = self._tabCtrl.newTab(
            "payment", _("Payment"),
            url_for('payment.event_settings', self._conf))
        self._tabETicket = self._tabCtrl.newTab(
            "eticket", _("E-Ticket"),
            url_for('event_mgmt.confModifETicket', self._conf))

        self._setActiveTab()

        if not self._conf.hasEnabledSection("regForm"):
            self._tabRegFormSetup.disable()
            self._tabRegistrants.disable()
            self._tabStats.disable()
            self._tabPayment.disable()
            self._tabRegistrationPreview.disable()
            self._tabETicket.disable()
Exemplo n.º 6
0
 def _createTabCtrl( self ):
     self._tabCtrl = wcomponents.TabControl()
     self._tabMain = self._tabCtrl.newTab( "main", _("Main"), \
             urlHandlers.UHAbstractModNotifTplDisplay.getURL( self._notifTpl ) )
     self._tabPreview = self._tabCtrl.newTab( "preview", _("Preview"), \
             urlHandlers.UHAbstractModNotifTplPreview.getURL( self._notifTpl ) )
     self._setActiveTab()
Exemplo n.º 7
0
    def _createTabCtrl(self):
        self._tabCtrl = wcomponents.TabControl()

        self._subTabConfiguration = self._tabCtrl.newTab("configuration", _("Configuration"),
                                                         urlHandlers.UHAdminsSystem.getURL())
        self._subTabMaintenance = self._tabCtrl.newTab("maintenance", _("Maintenance"),
                                                       urlHandlers.UHMaintenance.getURL())
Exemplo n.º 8
0
 def _createTabCtrl(self):
     self._tabCtrl = wcomponents.TabControl()
     self._tabMain = self._tabCtrl.newTab( "main", "Main", \
             localUrlHandlers.UHConfModifEPaymentYellowPay.getURL( self._conf ) )
     wf = self._rh.getWebFactory()
     if wf:
         wf.customiseTabCtrl(self._tabCtrl)
     self._setActiveTab()
Exemplo n.º 9
0
    def _createTabCtrl(self):
        self._tabCtrl = wcomponents.TabControl()

        self._subTabNews = self._tabCtrl.newTab( "news", _("News"), \
                urlHandlers.UHUpdateNews.getURL() )
        self._subTabAnnouncements = self._tabCtrl.newTab( "announcements", _("Announcements"), \
                urlHandlers.UHAnnouncement.getURL() )
        self._subTabUpcoming = self._tabCtrl.newTab( "upcoming", _("Upcoming Events"), \
                urlHandlers.UHConfigUpcomingEvents.getURL() )
Exemplo n.º 10
0
 def _createTabCtrl(self):
     self._tabCtrl = wcomponents.TabControl()
     self._tabMain = self._tabCtrl.newTab( "main", _("Main"), \
         urlHandlers.UHTrackAbstractModif.getURL(self._track,self._abstract))
     nComments = ""
     if len(self._abstract.getIntCommentList()) > 0:
         nComments = " (%s)" % len(self._abstract.getIntCommentList())
     self._tabComments=self._tabCtrl.newTab( "comments", _("Internal comments%s")%nComments,\
         urlHandlers.UHTrackAbstractModIntComments.getURL(self._track,self._abstract))
     self._setActiveTab()
Exemplo n.º 11
0
 def _createTabCtrl(self):
     self._tabCtrl = wcomponents.TabControl()
     self._tabMain = self._tabCtrl.newTab( "main", _("Main"), \
             urlHandlers.UHSubContributionModification.getURL( self._target ) )
     self._tab_attachments = self._tabCtrl.newTab(
         "attachments", _("Materials"),
         url_for('attachments.management', self._subContrib))
     self._tabTools = self._tabCtrl.newTab( "tools", _("Tools"), \
             urlHandlers.UHSubContribModifTools.getURL( self._target ) )
     self._setActiveTab()
Exemplo n.º 12
0
 def _createTabCtrl( self ):
     self._tabCtrl = wcomponents.TabControl()
     self._tabMain = self._tabCtrl.newTab( "main", _("Main"), \
             urlHandlers.UHSubContributionModification.getURL( self._target ) )
     #self._tabMaterials = self._tabCtrl.newTab( "materials", _("Files"), \
     self._tabMaterials = self._tabCtrl.newTab( "materials", _("Material"), \
             urlHandlers.UHSubContribModifMaterials.getURL( self._target ) )
     self._tabTools = self._tabCtrl.newTab( "tools", _("Tools"), \
             urlHandlers.UHSubContribModifTools.getURL( self._target ) )
     self._setActiveTab()
Exemplo n.º 13
0
    def _createTabCtrl(self):
        review_manager = self._conf.getReviewManager(self._contrib)

        self._tabCtrl = wcomponents.TabControl()

        hasReviewingEnabled = self._conf.hasEnabledSection('paperReviewing')
        paperReviewChoice = self._conf.getConfPaperReview().getChoice()

        if hasReviewingEnabled and paperReviewChoice != 1:
            if self._canModify or self._isPRM or review_manager.isReferee(self._rh._getUser()):
                self._subtabReviewing = self._tabCtrl.newTab(
                    "reviewing", _("Paper Reviewing"), url_for('event_mgmt.contributionReviewing', self._target))
            else:
                if review_manager.isEditor(self._rh._getUser()):
                    self._subtabReviewing = self._tabCtrl.newTab(
                        "reviewing", _("Paper Reviewing"), url_for('event_mgmt.confListContribToJudge-asEditor',
                                                                   self._target))
                elif review_manager.isReviewer(self._rh._getUser()):
                    self._subtabReviewing = self._tabCtrl.newTab(
                        "reviewing", _("Paper Reviewing"), url_for('event_mgmt.confListContribToJudge-asReviewer',
                                                                   self._target))

            if self._canModify or self._isPRM or review_manager.isReferee(self._rh._getUser()):
                self._subTabAssign = self._subtabReviewing.newSubTab(
                    "assign", _("Assign Team"), url_for('event_mgmt.contributionReviewing', self._target))
                if review_manager.isReferee(self._rh._getUser()) and paperReviewChoice not in (1, 3):
                    self._subTabJudgements = self._subtabReviewing.newSubTab(
                        "referee", _("Referee Assessment"), url_for('event_mgmt.confListContribToJudge', self._target))
                else:
                    self._subTabJudgements = self._subtabReviewing.newSubTab(
                        "Assessments", _("Assessments"), url_for('event_mgmt.confListContribToJudge', self._target))

            if (paperReviewChoice == 3 or paperReviewChoice == 4) and \
                    review_manager.isEditor(self._rh._getUser()) and \
                    not review_manager.getLastReview().getRefereeJudgement().isSubmitted():
                self._tabJudgeEditing = self._subtabReviewing.newSubTab(
                    "editing", _("Assess Layout"), url_for('event_mgmt.contributionEditingJudgement', self._target))

            if (paperReviewChoice == 2 or paperReviewChoice == 4) and \
                    review_manager.isReviewer(self._rh._getUser()) and \
                    not review_manager.getLastReview().getRefereeJudgement().isSubmitted():
                self._tabGiveAdvice = self._subtabReviewing.newSubTab(
                    "advice", _("Assess Content"), url_for('event_mgmt.contributionGiveAdvice', self._target))

            if self._canModify or \
                    self._isPRM or \
                    review_manager.isReferee(self._rh._getUser()) or \
                            len(review_manager.getVersioning()) > 1 or \
                    review_manager.getLastReview().getRefereeJudgement().isSubmitted():
                self._subTabReviewingHistory = self._subtabReviewing.newSubTab(
                    "reviewing_history", _("History"), url_for('event_mgmt.contributionReviewing-reviewingHistory',
                                                               self._target))

        self._setActiveTab()
        self._setupTabCtrl()
Exemplo n.º 14
0
 def __init__(self, rh, conf):
     """ Constructor
         The rh is expected to have the attributes _tabs, _activeTab, _tabPlugins (like for ex. RHConfModifCSBookings)
     """
     WPConferenceModifBase.__init__(self, rh, conf)
     self._conf = conf
     self._tabs = {} # list of Indico's Tab objects
     self._tabNames = rh._tabs
     self._activeTabName = rh._activeTabName
     self.rh = rh
     self._tabCtrl = wcomponents.TabControl()
Exemplo n.º 15
0
    def _createTabCtrl( self ):
        self._tabCtrl = wcomponents.TabControl()

        self._subTabGeneral = self._tabCtrl.newTab( "general", _("General Definitions"), \
                urlHandlers.UHAdminLayoutGeneral.getURL() )
        self._subTabCSSTpls = self._tabCtrl.newTab( "styles", _("Conference Styles"), \
                urlHandlers.UHAdminsConferenceStyles.getURL() )
        self._subTabBadges = self._tabCtrl.newTab( "badges", _("Badges"), \
                urlHandlers.UHBadgeTemplates.getURL() )
        self._subTabPosters = self._tabCtrl.newTab( "posters", _("Posters"), \
                urlHandlers.UHPosterTemplates.getURL() )
Exemplo n.º 16
0
    def _createTabCtrl(self):
        self._tabCtrl = wcomponents.TabControl()

        self._subTabIPBasedACL = self._tabCtrl.newTab( "ip_based_acl", _("IP Based ACL"), \
                urlHandlers.UHIPBasedACL.getURL() )
        self._subTabOauth = self._tabCtrl.newTab( "oauth", _("OAuth"), \
                urlHandlers.UHAdminOAuthConsumers.getURL() )
        self._subTabOauth_Consumers = self._subTabOauth.newSubTab( "oauth_consumers", _("Consumers"), \
                urlHandlers.UHAdminOAuthConsumers.getURL() )
        self._subTabOauth_Authorized = self._subTabOauth.newSubTab( "oauth_authorized", _("Authorized"), \
                urlHandlers.UHAdminOAuthAuthorized.getURL() )
Exemplo n.º 17
0
 def _createTabCtrl(self):
     self._tabCtrl = wcomponents.TabControl()
     
     isUsingHTTPS = CollaborationTools.isUsingHTTPS()
     for tabName in self._tabNames:
         if tabName == 'Managers':
             url = urlHandlers.UHConfModifCollaborationManagers.getURL(self._conf)
         else:
             url = urlHandlers.UHConfModifCollaboration.getURL(self._conf, secure = isUsingHTTPS, tab = tabName)
         self._tabs[tabName] = self._tabCtrl.newTab(tabName, tabName, url)
     
     self._setActiveTab()
Exemplo n.º 18
0
 def __init__(self, rh, templateClass, activeTab, params):
     WPConferenceModifBase.__init__(self, rh, rh._conf)
     self._rh = rh
     self._conf = self._rh._conf
     self._register = StatisticsRegister()
     self._plugins = self._register.getAllPlugins(activeOnly=True)
     self._templateClass = templateClass
     self._extraJS = []
     self._activeTabName = activeTab
     self._params = params
     self._tabs = []
     self._tabCtrl = wcomponents.TabControl()
Exemplo n.º 19
0
 def _createTabCtrl(self):
     self._tabCtrl = wcomponents.TabControl()
     self._tabEvaluationSetup = self._tabCtrl.newTab( "evaluationsetup", _("Setup"), \
             urlHandlers.UHConfModifEvaluationSetup.getURL( self._conf ) )
     self._tabEvaluationEdit = self._tabCtrl.newTab( "edit", _("Edit"), \
             urlHandlers.UHConfModifEvaluationEdit.getURL( self._conf ) )
     self._tabEvaluationPreview = self._tabCtrl.newTab( "preview", _("Preview"), \
             urlHandlers.UHConfModifEvaluationPreview.getURL( self._conf ) )
     self._tabEvaluationResults = self._tabCtrl.newTab( "results", _("Results"), \
             urlHandlers.UHConfModifEvaluationResults.getURL( self._conf ) )
     if not self._conf.hasEnabledSection("evaluation"):
         self._tabEvaluationSetup.disable()
         self._tabEvaluationEdit.disable()
         self._tabEvaluationPreview.disable()
         self._tabEvaluationResults.disable()
     self._setActiveTab()
Exemplo n.º 20
0
    def __init__(self, rh, conf):
        WPConferenceModifBase.__init__(self, rh, conf)
        self._conf = conf
        self._tabs = {} # list of Indico's Tab objects
        self._tabNames = rh._tabs
        self._activeTabName = rh._activeTabName
        self._aw = rh.getAW()

        self._tabCtrl = wcomponents.TabControl()

        info = HelperMaKaCInfo.getMaKaCInfoInstance()
        self._plugin_asset_env = PluginEnvironment('InstantMessaging', os.path.dirname(__file__), '/InstantMessaging')
        self._plugin_asset_env.debug = info.isDebugActive()
        self._plugin_asset_env.register('instant_messaging', Bundle('js/InstantMessaging.js',
                                                                    filters='rjsmin',
                                                                    output="InstantMessaging_%(version)s.min.js"))
Exemplo n.º 21
0
 def _createTabCtrl(self):
     self._tabCtrl = wcomponents.TabControl()
     self._tabMain = self._tabCtrl.newTab( "main", _("Main"), \
             urlHandlers.UHTrackModification.getURL( self._track ) )
     self._tabCoordination= self._tabCtrl.newTab( "cc", \
              _("Coordination control"), \
             urlHandlers.UHTrackModifCoordination.getURL( self._track ) )
     self._tabAbstracts = self._tabCtrl.newTab( "abstracts", _("Abstracts"), \
             urlHandlers.UHTrackModifAbstracts.getURL( self._track ) )
     if self._conf.getAbstractMgr().isActive(
     ) and self._conf.hasEnabledSection("cfa"):
         self._tabAbstracts.enable()
         self._tabCoordination.enable()
     else:
         self._tabAbstracts.disable()
         self._tabCoordination.disable()
     self._tabContribs=self._tabCtrl.newTab( "contribs", _("Contributions"), \
             urlHandlers.UHTrackModContribList.getURL(self._track))
     self._setActiveTab()
Exemplo n.º 22
0
    def _createTabCtrl(self):

        self._tabCtrl = wcomponents.TabControl()
        self._tabMain = self._tabCtrl.newTab(
            "main", _("Main"),
            urlHandlers.UHContributionModification.getURL(self._target))
        self._tabMaterials = self._tabCtrl.newTab(
            "materials", _("Material"),
            urlHandlers.UHContribModifMaterials.getURL(self._target))
        self._tabSubCont = self._tabCtrl.newTab(
            "subCont", _("Sub Contribution"),
            urlHandlers.UHContribModifSubCont.getURL(self._target))
        if self._canModify:
            self._tabAC = self._tabCtrl.newTab(
                "ac", _("Protection"),
                urlHandlers.UHContribModifAC.getURL(self._target))
            self._tabTools = self._tabCtrl.newTab(
                "tools", _("Tools"),
                urlHandlers.UHContribModifTools.getURL(self._target))

        hasReviewingEnabled = self._contrib.getConference().hasEnabledSection(
            'paperReviewing')
        paperReviewChoice = self._contrib.getConference().getConfPaperReview(
        ).getChoice()

        if hasReviewingEnabled and paperReviewChoice != 1:
            if self._canModify or self._isPRM or self._contrib.getReviewManager(
            ).isReferee(self._rh._getUser()):
                self._subtabReviewing = self._tabCtrl.newTab(
                    "reviewing", "Paper Reviewing",
                    urlHandlers.UHContributionModifReviewing.getURL(
                        self._target))
            else:
                if self._contrib.getReviewManager().isEditor(
                        self._rh._getUser()):
                    self._subtabReviewing = self._tabCtrl.newTab(
                        "reviewing", "Paper Reviewing",
                        urlHandlers.UHContributionEditingJudgement.getURL(
                            self._target))
                elif self._contrib.getReviewManager().isReviewer(
                        self._rh._getUser()):
                    self._subtabReviewing = self._tabCtrl.newTab(
                        "reviewing", "Paper Reviewing",
                        urlHandlers.UHContributionGiveAdvice.getURL(
                            self._target))

            if self._canModify or self._isPRM or self._contrib.getReviewManager(
            ).isReferee(self._rh._getUser()):
                self._subTabAssign = self._subtabReviewing.newSubTab(
                    "assign", _("Assign Team"),
                    urlHandlers.UHContributionModifReviewing.getURL(
                        self._target))
                if self._contrib.getReviewManager().isReferee(
                        self._rh._getUser()) and not (paperReviewChoice == 3 or
                                                      paperReviewChoice == 1):
                    self._subTabJudgements = self._subtabReviewing.newSubTab(
                        "referee", _("Referee Assessment"),
                        urlHandlers.UHContributionReviewingJudgements.getURL(
                            self._target))
                else:
                    self._subTabJudgements = self._subtabReviewing.newSubTab(
                        "Assessments", _("Assessments"),
                        urlHandlers.UHContributionReviewingJudgements.getURL(
                            self._target))

            if (paperReviewChoice == 3 or paperReviewChoice == 4) and \
               self._contrib.getReviewManager().isEditor(self._rh._getUser()) and \
               not self._contrib.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted():
                self._tabJudgeEditing = self._subtabReviewing.newSubTab(
                    "editing", "Assess Layout",
                    urlHandlers.UHContributionEditingJudgement.getURL(
                        self._target))

            if (paperReviewChoice == 2 or paperReviewChoice == 4) and \
               self._contrib.getReviewManager().isReviewer(self._rh._getUser()) and \
               not self._contrib.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted():
                self._tabGiveAdvice = self._subtabReviewing.newSubTab(
                    "advice", "Assess Content",
                    urlHandlers.UHContributionGiveAdvice.getURL(self._target))

            if self._canModify or \
               self._isPRM or \
               self._contrib.getReviewManager().isInReviewingTeamforContribution(self._rh._getUser()):
                self._subTabRevMaterial = self._subtabReviewing.newSubTab(
                    "revmaterial", _("Material to Review"),
                    urlHandlers.UHContribModifReviewingMaterials.getURL(
                        self._target))

            if self._canModify or \
               self._isPRM or \
               self._contrib.getReviewManager().isReferee(self._rh._getUser()) or \
               len(self._contrib.getReviewManager().getVersioning()) > 1 or \
               self._contrib.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted():
                self._subTabReviewingHistory = self._subtabReviewing.newSubTab(
                    "reviewing_history", "History",
                    urlHandlers.UHContributionModifReviewingHistory.getURL(
                        self._target))

        self._setActiveTab()
        self._setupTabCtrl()
Exemplo n.º 23
0
 def _createTabCtrl(self):
     self._tabCtrl = wcomponents.TabControl()
     self._tabMain = self._tabCtrl.newTab("main", _("Main"), "")
     self._setActiveTab()
Exemplo n.º 24
0
    def _createTabCtrl(self):
        self._tabCtrl = wcomponents.TabControl()

        self._subTabIPBasedACL = self._tabCtrl.newTab("ip_based_acl", _("IP Based ACL"),
                                                      urlHandlers.UHIPBasedACL.getURL())