Changeset ef9382 in indico


Ignore:
Timestamp:
05/12/10 15:52:26 (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, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
a9b495
Parents:
53b65f
git-author:
Leszek Syroka <leszek.marek.syroka@…> (05/12/10 14:56:41)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (05/12/10 15:52:26)
Message:

[FIX] Editing session properties room

  • session room is displayed correctly even if not belongs to the CERN location -fix#373
Location:
indico/MaKaC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/services/implementation/roomBooking.py

    r53b65f ref9382  
    5555        if Location.parse( self._location ): 
    5656            for room in CrossLocationQueries.getRooms( location = self._location ): 
    57                 res.append((room.getFullName(), room.getFullName())) 
     57                res.append((room.name, room.getFullName())) 
    5858 
    59         return sorted(res) 
     59        return res 
    6060 
    6161class RoomBookingListLocationsAndRooms( ServiceBase ): 
  • indico/MaKaC/webinterface/tpls/EventLocationInfo.tpl

    r8feaa1 ref9382  
    3636  <% end %> 
    3737 
    38   var rbWidget = new RoomBookingWidget(Indico.Data.Locations, info, parentEvt, nullRoomInfo(info), <%= eventFavorites %>, Indico.Data.DefaultLocation); 
     38  var rbWidget = new RoomBookingWidget(Indico.Data.Locations, info, parentEvt, nullRoomInfo(info), <%= eventFavorites %>, <% if modifying: %>null<%end%><%else:%>Indico.Data.DefaultLocation<%end%>); 
    3939 
    4040  var domContent = rbWidget.draw(); 
Note: See TracChangeset for help on using the changeset viewer.