예제 #1
0
 def _getHeader( self ):
     """
     """
     wc = wcomponents.WMenuSimpleEventHeader( self._getAW(),self._conf )
     return wc.getHTML( { "loginURL": self.getLoginURL(),\
                          "logoutURL": self.getLogoutURL(),\
                          "confId": self._conf.getId(),\
                          "currentView": "static",\
                          "type": WebFactory.getId(),\
                          "dark": True } )
예제 #2
0
 def _getHeader( self ):
     """
     """
     wc = wcomponents.WMenuSimpleEventHeader( self._getAW(),self._conf )
     return wc.getHTML( { "loginURL": self.getLoginURL(),\
                          "logoutURL": self.getLogoutURL(),\
                          "confId": self._conf.getId(),\
                          "currentView": "static",\
                          "type": WebFactory.getId(),\
                          "dark": True } )
예제 #3
0
파일: meeting.py 프로젝트: NIIF/indico
    def _getHeader( self ):
        """
        """

        if hasattr(self, "_view"):
            currentView = self._view
        else:
            currentView = "static"

        wc = wcomponents.WMenuMeetingHeader( self._getAW(),self._conf )
        return wc.getHTML( { "loginURL": self.getLoginURL(),\
                             "logoutURL": self.getLogoutURL(),\
                             "confId": self._conf.getId(),\
                             "currentView": currentView,\
                             "type": WebFactory.getId(),\
                             "filterActive": False,\
                             "dark": True } )
예제 #4
0
    def _getHeader(self):
        """
        """

        if hasattr(self, "_view"):
            currentView = self._view
        else:
            currentView = "static"

        wc = wcomponents.WMenuMeetingHeader(self._getAW(), self._conf)
        return wc.getHTML( { "loginURL": self.getLoginURL(),\
                             "logoutURL": self.getLogoutURL(),\
                             "confId": self._conf.getId(),\
                             "currentView": currentView,\
                             "type": WebFactory.getId(),\
                             "filterActive": False,\
                             "dark": True } )
예제 #5
0
파일: meeting.py 프로젝트: NIIF/indico
 def getVars( self ):
     vars = category.WConferenceCreation.getVars( self )
     vars["event_type"] = WebFactory.getId()
     return vars
예제 #6
0
 def getVars( self ):
     vars = category.WConferenceCreation.getVars( self )
     vars["event_type"] = WebFactory.getId()
     return vars