Changeset b49d75 in indico
- Timestamp:
- 03/22/12 15:20:40 (14 months ago)
- Branches:
- master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- c8a3a93
- Parents:
- fe97fd
- Location:
- indico/MaKaC/plugins/Collaboration
- Files:
-
- 2 edited
-
fossils.py (modified) (1 diff)
-
http_api.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/plugins/Collaboration/fossils.py
r96cced rb49d75 278 278 def getURL(self): 279 279 pass 280 getURL.produce = lambda s: Collaboration.collaborationTools.CollaborationTools.getConferenceOrContributionURL(s)280 getURL.produce = lambda s: str(Collaboration.collaborationTools.CollaborationTools.getConferenceOrContributionURL(s)) 281 281 getURL.name = 'url' 282 282 -
indico/MaKaC/plugins/Collaboration/http_api.py
rd20d8e rb49d75 276 276 contributions.append(tempContrib) 277 277 278 if len(contributions) == 0 : # If we are here, no contributions but a request exists.278 if len(contributions) == 0 or self._detail == "event": # If we are here, no contributions but a request exists. 279 279 bk.setStartDate(bk._conf.getStartDate()) 280 280 bk.setEndDate(bk._conf.getEndDate()) … … 310 310 """ 311 311 312 _orig = None313 _contrib = None314 _startDate = None315 _endDate = None316 317 312 def __init__(self, booking, contrib): 318 313 self._orig = booking 319 314 self._contrib = contrib 315 self._startDate = None 316 self._endDate = None 320 317 321 318 def __getattr__(self, name): … … 354 351 def getEndDate(self): 355 352 return self._endDate 353 354 def getLocation(self): 355 return self._contrib.getLocation().getName() if self._contrib.getLocation() else "" 356 357 def getRoom(self): 358 return self._contrib.getRoom().getName() if self._contrib.getRoom() else ""
Note: See TracChangeset
for help on using the changeset viewer.
