예제 #1
0
    def _process(self):
        if self._target.getOwner().isClosed():
            p = WPConferenceModificationClosed( self, self._target )
            return p.display()

        p = contributionReviewing.WPContributionModifReviewingMaterials( self, self._target )
        return p.display(**self._getRequestParams())
예제 #2
0
    def _process(self):
        if self._target.getOwner().isClosed():
            p = WPConferenceModificationClosed( self, self._target )
            return p.display()

        p = contributionReviewing.WPContributionModifReviewingMaterials( self, self._target )
        return p.display(**self._getRequestParams())
예제 #3
0
 def _process(self):
     if self._conf.isClosed():
         p = WPConferenceModificationClosed(self, self._target)
     else:
         p = reviewing.WPConfModifUserCompetencesAbstracts(
             self, self._target)
     return p.display()
예제 #4
0
    def _process(self):
        if self._target.getConference().isClosed():
            p = WPConferenceModificationClosed(self, self._target)
            return p.display()
        r = self._rhSubmitMaterial._process(self, self._getRequestParams())
        if r is None:
            self._redirect(self._uh.getURL(self._target))

        return r
예제 #5
0
    def _process(self):
        if self._target.getConference().isClosed():
            p = WPConferenceModificationClosed(self, self._target)
            return p.display()
        r = self._rhSubmitMaterial._process(self, self._getRequestParams())
        if r is None:
            self._redirect(self._uh.getURL(self._target))

        return r
예제 #6
0
 def _process( self ):
     if self._conf.isClosed():
         p = WPConferenceModificationClosed( self, self._target )
         return p.display()
     else:
         if self._add:
             self._conf.getConfPaperReview().addUserCompetences(self._user, self._competences)
         if self._remove:
             self._conf.getConfPaperReview().removeUserCompetences(self._user, self._competences)
         self._redirect(urlHandlers.UHConfModifUserCompetences.getURL(self._conf))
예제 #7
0
 def _process( self ):
     if self._conf.isClosed():
         p = WPConferenceModificationClosed( self, self._target )
     else:
         p = reviewing.WPConfModifReviewingControl( self, self._target)
     return p.display()
예제 #8
0
파일: base.py 프로젝트: vstitches/indico
 def _processConferenceClosedError(self,e):
     """Treats access to modification pages for conferences when they are closed.
     """
     p = WPConferenceModificationClosed( self, e._conf )
     return p.display()
예제 #9
0
 def _process(self):
     if self._conf.isClosed():
         p = WPConferenceModificationClosed(self, self._target)
     else:
         p = reviewing.WPConfModifReviewingControl(self, self._target)
     return p.display()
 def _process( self ):
     if self._conf.isClosed():
         p = WPConferenceModificationClosed( self, self._target )
     else:
         p = reviewing.WPConfModifUserCompetencesAbstracts( self, self._target)
     return p.display()
예제 #11
0
파일: base.py 프로젝트: arturodr/indico
 def _processConferenceClosedError(self, e):
     """Treats access to modification pages for conferences when they are closed.
     """
     p = WPConferenceModificationClosed(self, e._conf)
     return p.display()
예제 #12
0
 def _process(self):
     if self._conf.isClosed():
         p = WPConferenceModificationClosed(self, self._target)
     else:
         p = WPConfModifAbstractReviewing(self, self._target)
     return p.display()
예제 #13
0
 def _process( self ):
     if self._conf.isClosed():
         p = WPConferenceModificationClosed( self, self._target )
     else:
         p = WPConfModifAbstractReviewing(self, self._target)
     return p.display()