Changeset 57b8a9 in indico


Ignore:
Timestamp:
04/30/10 17:16:05 (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:
d3cb3f
Parents:
b70ffb
Message:

[FIX] Bugs in video services indexing

Location:
indico/MaKaC/plugins/Collaboration
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/plugins/Collaboration/CERNMCU/pages.py

    r299cb7 r57b8a9  
    166166        vars = WJSBase.getVars( self ) 
    167167 
    168         vars["ConferenceId"] = self._conf.getId() 
    169  
    170168        roomsWithH323IP = [] 
    171169 
    172170        if self._conf: 
     171 
     172            vars["ConferenceId"] = self._conf.getId() 
    173173 
    174174            # Code to get a list of H.323 Videoconference-able rooms 
     
    212212                except Exception, e: 
    213213                    Logger.get("CERNMCU").warning("Location: " + locationName + "Exception when retrieving the list of all rooms with a H323 IP: " + str(e)) 
     214        else: 
     215            vars["ConferenceId"] = "" 
    214216 
    215217        roomsWithH323IP.sort(key = lambda room: room.getLocation()+':'+room.getName()) 
  • indico/MaKaC/plugins/Collaboration/RecordingRequest/tpls/Indexing.js

    r9033fd r57b8a9  
    11{ 
    22    "customText": function(booking, viewBy) { 
    3         if (booking.statusMessage == "Request rejected by responsible" && trim(booking.rejectionReason)) { 
     3        if (booking.statusMessage == "Request rejected by responsible" && booking.rejectionReason && trim(booking.rejectionReason)) { 
    44            return "Rejection reason: " + trim(booking.rejectionReason); 
    55        } 
  • indico/MaKaC/plugins/Collaboration/WebcastRequest/tpls/Indexing.js

    rf19d81 r57b8a9  
    11{ 
    22    "customText": function(booking, viewBy) { 
    3         if (booking.statusMessage == "Request rejected by responsible" && trim(booking.rejectionReason)) { 
     3        if (booking.statusMessage == "Request rejected by responsible" && booking.rejectionReason && trim(booking.rejectionReason)) { 
    44            return "Rejection reason: " + trim(booking.rejectionReason); 
    55        } 
Note: See TracChangeset for help on using the changeset viewer.