Changeset bc6e68 in indico
- Timestamp:
- 03/08/10 12:13:47 (3 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, new-webex, prov-dual-interface, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
- Children:
- 9dccaf, f3d0f4
- Parents:
- 1f2809
- git-author:
- Ian Rolewicz <ian.rolewicz@…> (03/04/10 11:07:31)
- git-committer:
- Pedro Ferreira <jose.pedro.ferreira@…> (03/08/10 12:13:47)
- File:
-
- 1 edited
-
indico/MaKaC/ICALinterface/conference.py (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/ICALinterface/conference.py
r9033fd rbc6e68 29 29 30 30 class ProgrammeToiCal(ICALBase): 31 31 32 32 def __init__(self, conf): 33 33 self._conf = conf 34 34 35 35 def getBody(self): 36 36 return "" … … 48 48 text += self._printFooter() 49 49 return text 50 50 51 51 class CategoryToiCal(ICALBase): 52 52 … … 62 62 63 63 class ConferenceToiCal(ICALBase): 64 64 65 65 def __init__(self, conf): 66 66 self._conf = conf … … 71 71 72 72 def getCore(self): 73 url = str( urlHandlers.UHConferenceDisplay.getURL( self._conf ) ) 73 url = str( urlHandlers.UHConferenceDisplay.getURL( self._conf ) ) 74 74 text = self._printEventHeader(self._conf) 75 75 text += "URL;VALUE=URI:%s\n" % url … … 82 82 chair = fullchair = av.getDirectFullName() 83 83 if av.getAffiliation() != "": 84 fullchair = "%s (%s)" % (fullchair,av.getAffiliation()) 84 fullchair = "%s (%s)" % (fullchair,av.getAffiliation()) 85 85 if not self._protected: 86 86 if self._conf.getDescription() != "": 87 87 desc = self._lt(self._conf.getDescription())+"\\n" 88 88 if fullchair != "": 89 desc = "%s%s\\n" % (desc, fullchair)90 89 desc = "%s%s\\n" % (desc,self._lt(fullchair)) 90 91 91 text += "DESCRIPTION:%s%s\n" % (desc,url) 92 92 room="" … … 126 126 self._conf = conf 127 127 self._session = session 128 128 129 129 def getCore(self): 130 130 … … 160 160 161 161 class ContribToiCal(ICALBase): 162 162 163 163 def __init__(self, conf, contrib): 164 164 self._conf = conf … … 185 185 text += self._printEventFooter() 186 186 return text 187 187 188 188 def getBody(self): 189 189 url = quoteattr( str( urlHandlers.UHContributionDisplay.getURL( self._contrib ) ) ) … … 192 192 text += self._printFooter() 193 193 return text 194 195 194 195
Note: See TracChangeset
for help on using the changeset viewer.
