Ignore:
Timestamp:
06/29/10 15:45:58 (3 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
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:
de90dd
Parents:
0836cb
git-author:
Ian Rolewicz <ian.rolewicz@…> (06/08/10 10:41:28)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (06/29/10 15:45:58)
Message:

[IMP] Add 'Fit to content' actions to timetable

  • fixes #398
  • Added the 'Fit to content' link in interval timetables in order to let the user adjust the start-end dates of the interval with respect to its content.
  • The link opens a confirmation popup.
  • The 'fitting' of a session is done automatically when fitting a block of this session
  • Added a third step to the Reschedule popup in order to fit all the sessions this timetable contains before rescheduling. This third step is only available for top-level timetable and this option can be used now independantly of the rescheduling (i.e. we let rescheduling even if none of the first step options are checked if the third step is done).
  • Added examples for each type of rescheduling.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/rh/sessionModif.py

    rbdd862 r6b4ff5  
    16941694    def _checkParams(self, params): 
    16951695        RHSessionModCoordinationBase._checkParams(self, params) 
    1696         self._slot=self._target.getSlotById(params.get("slotId","")) 
     1696        self._slotID = params.get("slotId","") 
     1697        self._slot=self._target.getSlotById(self._slotID) 
     1698        self._sessionID = params.get("sessionId","") 
     1699        self._targetDay=params.get("day","") 
    16971700 
    16981701    def _process(self): 
    16991702        if self._slot is not None: 
    17001703            self._slot.fit() 
    1701         self._redirect(urlHandlers.UHSessionModifSchedule.getURL(self._session)) 
     1704        self._redirect("%s#%s.s%sl%s"%(urlHandlers.UHConfModifSchedule.getURL(self._conf), self._targetDay, self._sessionID, self._slotID)) 
    17021705 
    17031706 
Note: See TracChangeset for help on using the changeset viewer.