Changeset 0f44e4 in indico


Ignore:
Timestamp:
06/04/10 15:34:04 (3 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, new-webex, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
6b71ba
Parents:
30b4d4
Message:

[FIX] Session coordinator timetable display

Location:
indico/MaKaC/webinterface
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/pages/conferences.py

    r0b00da r0f44e4  
    31863186               self._includeJSPackage('Timetable') 
    31873187 
     3188    def _getSchedule(self): 
     3189        return WConfModifScheduleGraphic( self._conf ) 
     3190 
    31883191    def _getTTPage( self, params ): 
    3189         wc = WConfModifScheduleGraphic( self._conf) 
     3192        wc = self._getSchedule() 
    31903193        return wc.getHTML(params) 
    31913194 
  • indico/MaKaC/webinterface/pages/sessions.py

    ra217dc r0f44e4  
    14721472 
    14731473    def _getSchedule(self): 
    1474         return WSessionModifSchedule(self._session, self._timetable, self._days) 
     1474        return WSessionModifSchedule(self._session) 
    14751475 
    14761476    def _getTabContent( self, params ): 
     
    14791479class WSessionModifSchedule(wcomponents.WTemplated): 
    14801480 
    1481     def __init__(self, session, timetable, dayList, **params): 
     1481    def __init__(self, session, **params): 
    14821482        wcomponents.WTemplated.__init__(self, **params) 
    14831483        self._session = session 
    1484         self._timetable = timetable 
    1485         self._dayList = dayList 
    14861484 
    14871485    def getVars( self ): 
     
    14891487        tz = self._session.getTimezone() 
    14901488        vars["timezone"]= tz 
    1491         # the list of days specified by the user through the option box 
    1492         vars["daysParam"] = self._dayList 
    1493         # the list of days from the timetable 
    1494         vars["dayList"]=self._timetable.getDayList() 
    1495         # the first day of the list 
    1496         vars["dayDate"]=self._dayList[0].getDate() 
    1497  
    1498         vars['rbActive'] = info.HelperMaKaCInfo.getMaKaCInfoInstance().getRoomBookingModuleActive() 
    14991489 
    15001490        vars['ttdata'] = simplejson.dumps(schedule.ScheduleToJson.process(self._session.getSchedule(), tz, 
  • indico/MaKaC/webinterface/tpls/SessionModifSchedule.tpl

    r1f9b71 r0f44e4  
    1818IndicoUI.executeOnLoad(function(){ 
    1919 
    20  
    2120  $E('timetableDiv').set(timetable.draw()); 
    2221  timetable.postDraw(); 
Note: See TracChangeset for help on using the changeset viewer.