| | 4319 | <xsl:template match="event" mode="attendeeReply"> |
|---|
| | 4320 | <xsl:variable name="subscriptionId" select="subscription/id"/> |
|---|
| | 4321 | <xsl:variable name="calPath" select="calendar/encodedPath"/> |
|---|
| | 4322 | <xsl:variable name="guid" select="guid"/> |
|---|
| | 4323 | <xsl:variable name="recurrenceId" select="recurrenceId"/> |
|---|
| | 4324 | <xsl:variable name="statusClass"> |
|---|
| | 4325 | <xsl:choose> |
|---|
| | 4326 | <xsl:when test="status='CANCELLED'">bwStatusCancelled</xsl:when> |
|---|
| | 4327 | <xsl:when test="status='TENTATIVE'">bwStatusTentative</xsl:when> |
|---|
| | 4328 | <xsl:otherwise>bwStatusConfirmed</xsl:otherwise> |
|---|
| | 4329 | </xsl:choose> |
|---|
| | 4330 | </xsl:variable> |
|---|
| | 4331 | <h2> |
|---|
| | 4332 | Meeting Reply |
|---|
| | 4333 | </h2> |
|---|
| | 4334 | <table class="common" cellspacing="0"> |
|---|
| | 4335 | <tr> |
|---|
| | 4336 | <th colspan="2" class="commonHeader"> |
|---|
| | 4337 | <div id="eventActions"> |
|---|
| | 4338 | </div> |
|---|
| | 4339 | Organizer: |
|---|
| | 4340 | <xsl:choose> |
|---|
| | 4341 | <xsl:when test="organizer/cn != ''"> |
|---|
| | 4342 | <xsl:value-of select="organizer/cn"/> |
|---|
| | 4343 | </xsl:when> |
|---|
| | 4344 | <xsl:otherwise> |
|---|
| | 4345 | <xsl:value-of select="substring-after(organizer/organizerUri,'mailto:')"/> |
|---|
| | 4346 | </xsl:otherwise> |
|---|
| | 4347 | </xsl:choose> |
|---|
| | 4348 | </th> |
|---|
| | 4349 | </tr> |
|---|
| | 4350 | <tr> |
|---|
| | 4351 | <td class="fieldname"> |
|---|
| | 4352 | From: |
|---|
| | 4353 | </td> |
|---|
| | 4354 | <td class="fieldval scheduleActions"> |
|---|
| | 4355 | <strong> |
|---|
| | 4356 | <a> |
|---|
| | 4357 | <xsl:attribute name="href"><xsl:value-of select="attendee/attendeeUri"/></xsl:attribute> |
|---|
| | 4358 | <xsl:choose> |
|---|
| | 4359 | <xsl:when test="cn != ''"> |
|---|
| | 4360 | <xsl:value-of select="cn"/> |
|---|
| | 4361 | </xsl:when> |
|---|
| | 4362 | <xsl:otherwise> |
|---|
| | 4363 | <xsl:value-of select="substring-after(attendee/attendeeUri,'mailto:')"/> |
|---|
| | 4364 | </xsl:otherwise> |
|---|
| | 4365 | </xsl:choose> |
|---|
| | 4366 | </a> |
|---|
| | 4367 | </strong> |
|---|
| | 4368 | </td> |
|---|
| | 4369 | </tr> |
|---|
| | 4370 | <tr> |
|---|
| | 4371 | <td class="fieldname"> |
|---|
| | 4372 | Status: |
|---|
| | 4373 | </td> |
|---|
| | 4374 | <td class="fieldval scheduleActions"> |
|---|
| | 4375 | <xsl:value-of select="attendee/partstat"/> |
|---|
| | 4376 | <xsl:if test="comments/comment"> |
|---|
| | 4377 | <p><strong>Comments:</strong></p> |
|---|
| | 4378 | <xsl:for-each select="comment"> |
|---|
| | 4379 | <p><xsl:value-of select="."/></p> |
|---|
| | 4380 | </xsl:for-each> |
|---|
| | 4381 | </xsl:if> |
|---|
| | 4382 | </td> |
|---|
| | 4383 | </tr> |
|---|
| | 4384 | <tr> |
|---|
| | 4385 | <td class="fieldname"> |
|---|
| | 4386 | Action: |
|---|
| | 4387 | </td> |
|---|
| | 4388 | <td class="fieldval scheduleActions"> |
|---|
| | 4389 | <form name="processReply" action="{$schedule-processAttendeeReply}"> |
|---|
| | 4390 | <input type="submit" value="Accept" name="update"/> |
|---|
| | 4391 | <input type="submit" value="Cancel" name="cancelled"/> |
|---|
| | 4392 | </form> |
|---|
| | 4393 | </td> |
|---|
| | 4394 | </tr> |
|---|
| | 4395 | <tr> |
|---|
| | 4396 | <td class="fieldname">Title:</td> |
|---|
| | 4397 | <td class="fieldval"> |
|---|
| | 4398 | <strong> |
|---|
| | 4399 | <xsl:choose> |
|---|
| | 4400 | <xsl:when test="link != ''"> |
|---|
| | 4401 | <xsl:variable name="link" select="link"/> |
|---|
| | 4402 | <a href="{$link}"> |
|---|
| | 4403 | <xsl:value-of select="summary"/> |
|---|
| | 4404 | </a> |
|---|
| | 4405 | </xsl:when> |
|---|
| | 4406 | <xsl:otherwise> |
|---|
| | 4407 | <xsl:value-of select="summary"/> |
|---|
| | 4408 | </xsl:otherwise> |
|---|
| | 4409 | </xsl:choose> |
|---|
| | 4410 | </strong> |
|---|
| | 4411 | </td> |
|---|
| | 4412 | </tr> |
|---|
| | 4413 | <tr> |
|---|
| | 4414 | <td class="fieldname">When:</td> |
|---|
| | 4415 | <td class="fieldval"> |
|---|
| | 4416 | <xsl:value-of select="start/dayname"/>, <xsl:value-of select="start/longdate"/><xsl:text> </xsl:text> |
|---|
| | 4417 | <xsl:if test="start/allday = 'false'"> |
|---|
| | 4418 | <span class="time"><xsl:value-of select="start/time"/></span> |
|---|
| | 4419 | </xsl:if> |
|---|
| | 4420 | <xsl:if test="(end/longdate != start/longdate) or |
|---|
| | 4421 | ((end/longdate = start/longdate) and (end/time != start/time))"> - </xsl:if> |
|---|
| | 4422 | <xsl:if test="end/longdate != start/longdate"> |
|---|
| | 4423 | <xsl:value-of select="substring(end/dayname,1,3)"/>, <xsl:value-of select="end/longdate"/><xsl:text> </xsl:text> |
|---|
| | 4424 | </xsl:if> |
|---|
| | 4425 | <xsl:choose> |
|---|
| | 4426 | <xsl:when test="start/allday = 'true'"> |
|---|
| | 4427 | <span class="time"><em>(all day)</em></span> |
|---|
| | 4428 | </xsl:when> |
|---|
| | 4429 | <xsl:when test="end/longdate != start/longdate"> |
|---|
| | 4430 | <span class="time"><xsl:value-of select="end/time"/></span> |
|---|
| | 4431 | </xsl:when> |
|---|
| | 4432 | <xsl:when test="end/time != start/time"> |
|---|
| | 4433 | <span class="time"><xsl:value-of select="end/time"/></span> |
|---|
| | 4434 | </xsl:when> |
|---|
| | 4435 | </xsl:choose> |
|---|
| | 4436 | </td> |
|---|
| | 4437 | <!--<th class="icon" rowspan="2"> |
|---|
| | 4438 | <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> |
|---|
| | 4439 | <a href="{$export}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&skinName=ical&contentType=text/calendar&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> |
|---|
| | 4440 | <img src="{$resourcesRoot}/resources/std-ical-icon.gif" width="20" height="26" border="0" align="left" alt="Download this event"/> |
|---|
| | 4441 | </a> |
|---|
| | 4442 | </th>--> |
|---|
| | 4443 | </tr> |
|---|
| | 4444 | <tr> |
|---|
| | 4445 | <td class="fieldname">Where:</td> |
|---|
| | 4446 | <td class="fieldval"> |
|---|
| | 4447 | <xsl:choose> |
|---|
| | 4448 | <xsl:when test="location/link=''"> |
|---|
| | 4449 | <xsl:value-of select="location/address"/> |
|---|
| | 4450 | </xsl:when> |
|---|
| | 4451 | <xsl:otherwise> |
|---|
| | 4452 | <xsl:variable name="locationLink" select="location/link"/> |
|---|
| | 4453 | <a href="{$locationLink}"> |
|---|
| | 4454 | <xsl:value-of select="location/address"/> |
|---|
| | 4455 | </a> |
|---|
| | 4456 | </xsl:otherwise> |
|---|
| | 4457 | </xsl:choose> |
|---|
| | 4458 | <xsl:if test="location/subaddress!=''"> |
|---|
| | 4459 | <br/><xsl:value-of select="location/subaddress"/> |
|---|
| | 4460 | </xsl:if> |
|---|
| | 4461 | </td> |
|---|
| | 4462 | </tr> |
|---|
| | 4463 | <tr> |
|---|
| | 4464 | <td class="fieldname">Description:</td> |
|---|
| | 4465 | <td class="fieldval"> |
|---|
| | 4466 | <xsl:call-template name="replace"> |
|---|
| | 4467 | <xsl:with-param name="string" select="description"/> |
|---|
| | 4468 | <xsl:with-param name="pattern" select="'
'"/> |
|---|
| | 4469 | <xsl:with-param name="replacement"><br/></xsl:with-param> |
|---|
| | 4470 | </xsl:call-template> |
|---|
| | 4471 | </td> |
|---|
| | 4472 | </tr> |
|---|
| | 4473 | <xsl:if test="status !='' and status != 'CONFIRMED'"> |
|---|
| | 4474 | <tr> |
|---|
| | 4475 | <td class="fieldname">Status:</td> |
|---|
| | 4476 | <td class="fieldval"> |
|---|
| | 4477 | <xsl:value-of select="status"/> |
|---|
| | 4478 | </td> |
|---|
| | 4479 | </tr> |
|---|
| | 4480 | </xsl:if> |
|---|
| | 4481 | <tr> |
|---|
| | 4482 | <td class="fieldname filler"> </td> |
|---|
| | 4483 | <td class="fieldval"> </td> |
|---|
| | 4484 | </tr> |
|---|
| | 4485 | </table> |
|---|
| | 4486 | </xsl:template> |
|---|
| | 4487 | |
|---|