示例#1
0
 def __init__(self, rh, colorCodeTarget, colorPreviewTarget, formId=0):
     WPNotDecorated.__init__(self, rh)
     self._colorCodeTarget = colorCodeTarget
     self._colorPreviewTarget = colorPreviewTarget
     if formId.strip()=="":
         formId="0"
     self._formId=formId
示例#2
0
 def __init__(self, rh, aspects, buildings, defaultLocation, forVideoConference, roomID):
     WPNotDecorated.__init__(self, rh)
     self._aspects = aspects
     self._buildings = buildings
     self._defaultLocation = defaultLocation
     self._forVideoConference = forVideoConference
     self._roomID = roomID
示例#3
0
 def __init__(self, rh, colorCodeTarget, colorPreviewTarget, formId=0):
     WPNotDecorated.__init__(self, rh)
     self._colorCodeTarget = colorCodeTarget
     self._colorPreviewTarget = colorPreviewTarget
     if formId.strip() == "":
         formId = "0"
     self._formId = formId
示例#4
0
 def __init__( self, rh, month, year, day, form ):
     # month/year indicates which month should be displayed in the calendar
     # day indicates if a day should be highlighted in the calendar
     WPNotDecorated.__init__( self, rh )
     self._month  = month
     self._year = year
     self._day = day
     self._form = form
示例#5
0
 def __init__( self, rh, month, year, day, form ):
     # month/year indicates which month should be displayed in the calendar
     # day indicates if a day should be highlighted in the calendar
     WPNotDecorated.__init__( self, rh )
     self._month  = month
     self._year = year
     self._day = day
     self._form = form
示例#6
0
 def __init__(self, rh, aspects, buildings, defaultLocation,
              forVideoConference, roomID):
     WPNotDecorated.__init__(self, rh)
     self._aspects = aspects
     self._buildings = buildings
     self._defaultLocation = defaultLocation
     self._forVideoConference = forVideoConference
     self._roomID = roomID
示例#7
0
 def getCSSFiles(self):
     return WPNotDecorated.getCSSFiles(self) + ['css/mapofrooms.css']
示例#8
0
 def _getTitle(self):
     return WPNotDecorated._getTitle(self) + " - " + _("Map of rooms")
示例#9
0
文件: rooms.py 项目: hennogous/indico
 def _getTitle(self):
     return "{} - {}".format(WPNotDecorated._getTitle(self), _("Map of rooms"))
示例#10
0
 def _getTitle(self):
     return WPNotDecorated._getTitle(self) + " - " + _("Map of rooms")
示例#11
0
 def __init__(self, rh, file):
     WPNotDecorated.__init__(self, rh)
     self._file = file
示例#12
0
 def _getTitle(self):
     return '{} - {}'.format(WPNotDecorated._getTitle(self), _('Map of rooms'))
示例#13
0
 def getJSFiles(self):
     return WPNotDecorated.getJSFiles(self) + self._includeJSPackage('RoomBooking')
示例#14
0
 def getCSSFiles(self):
     return WPNotDecorated.getCSSFiles(self) + ['css/mapofrooms.css']
示例#15
0
 def getJSFiles(self):
     return WPNotDecorated.getJSFiles(self) + self._includeJSPackage('RoomBooking')
示例#16
0
 def _getTitle(self):
     return '{} - {}'.format(WPNotDecorated._getTitle(self), _('Map of rooms'))
示例#17
0
文件: files.py 项目: bubbas/indico
 def __init__(self,rh,file):
     WPNotDecorated.__init__(self,rh)
     self._file=file