| | 3488 | <xsl:template name="contactReferenced"> |
|---|
| | 3489 | <h2><xsl:copy-of select="$bwStr-DCoR-ContactInUse"/></h2> |
|---|
| | 3490 | |
|---|
| | 3491 | <table class="eventFormTable"> |
|---|
| | 3492 | <tr> |
|---|
| | 3493 | <th><xsl:copy-of select="$bwStr-DCoC-Name"/></th> |
|---|
| | 3494 | <td> |
|---|
| | 3495 | <xsl:value-of select="/bedework/contact/name" /> |
|---|
| | 3496 | </td> |
|---|
| | 3497 | </tr> |
|---|
| | 3498 | <tr> |
|---|
| | 3499 | <th><xsl:copy-of select="$bwStr-DCoC-Phone"/></th> |
|---|
| | 3500 | <td> |
|---|
| | 3501 | <xsl:value-of select="/bedework/contact/phone" /> |
|---|
| | 3502 | </td> |
|---|
| | 3503 | </tr> |
|---|
| | 3504 | <tr> |
|---|
| | 3505 | <th><xsl:copy-of select="$bwStr-DCoC-Email"/></th> |
|---|
| | 3506 | <td> |
|---|
| | 3507 | <xsl:value-of select="/bedework/contact/email" /> |
|---|
| | 3508 | </td> |
|---|
| | 3509 | </tr> |
|---|
| | 3510 | <tr> |
|---|
| | 3511 | <th><xsl:copy-of select="$bwStr-DCoC-URL"/></th> |
|---|
| | 3512 | <td> |
|---|
| | 3513 | <xsl:value-of select="/bedework/contact/link" /> |
|---|
| | 3514 | </td> |
|---|
| | 3515 | </tr> |
|---|
| | 3516 | </table> |
|---|
| | 3517 | |
|---|
| | 3518 | <p> |
|---|
| | 3519 | <xsl:copy-of select="$bwStr-DCoR-ContactInUseBy"/> |
|---|
| | 3520 | </p> |
|---|
| | 3521 | |
|---|
| | 3522 | <xsl:if test="/bedework/userInfo/superUser = 'true'"> |
|---|
| | 3523 | <div class="suTitle"><xsl:copy-of select="$bwStr-DCoR-SuperUserMsg"/></div> |
|---|
| | 3524 | <div id="superUserMenu"> |
|---|
| | 3525 | <!-- List collections that reference the contact --> |
|---|
| | 3526 | <xsl:if test="/bedework/propRefs/propRef[isCollection = 'true']"> |
|---|
| | 3527 | <h4><xsl:copy-of select="$bwStr-DCoR-Collections"/></h4> |
|---|
| | 3528 | <ul> |
|---|
| | 3529 | <xsl:for-each select="/bedework/propRefs/propRef[isCollection = 'true']"> |
|---|
| | 3530 | <li> |
|---|
| | 3531 | <xsl:variable name="calPath" select="path"/> |
|---|
| | 3532 | <a href="{$calendar-fetchForUpdate}&calPath={$calPath}"> |
|---|
| | 3533 | <xsl:value-of select="path"/> |
|---|
| | 3534 | </a> |
|---|
| | 3535 | </li> |
|---|
| | 3536 | </xsl:for-each> |
|---|
| | 3537 | </ul> |
|---|
| | 3538 | </xsl:if> |
|---|
| | 3539 | <!-- List events that reference the contact --> |
|---|
| | 3540 | <xsl:if test="/bedework/propRefs/propRef[isCollection = 'false']"> |
|---|
| | 3541 | <h4><xsl:copy-of select="$bwStr-DCoR-Events"/></h4> |
|---|
| | 3542 | <ul> |
|---|
| | 3543 | <xsl:for-each select="/bedework/propRefs/propRef[isCollection = 'false']"> |
|---|
| | 3544 | <li> |
|---|
| | 3545 | <xsl:variable name="calPath" select="path"/> |
|---|
| | 3546 | <xsl:variable name="guid" select="uid"/> |
|---|
| | 3547 | <!-- only returns the master event --> |
|---|
| | 3548 | <a href="{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}&recurrenceId="> |
|---|
| | 3549 | <xsl:value-of select="uid"/> |
|---|
| | 3550 | </a> |
|---|
| | 3551 | </li> |
|---|
| | 3552 | </xsl:for-each> |
|---|
| | 3553 | </ul> |
|---|
| | 3554 | </xsl:if> |
|---|
| | 3555 | </div> |
|---|
| | 3556 | </xsl:if> |
|---|
| | 3557 | |
|---|
| | 3558 | </xsl:template> |
|---|
| | 3559 | |
|---|
| | 3689 | |
|---|
| | 3690 | <xsl:template name="locationReferenced"> |
|---|
| | 3691 | <h2><xsl:copy-of select="$bwStr-DeLR-LocationInUse"/></h2> |
|---|
| | 3692 | <p id="confirmButtons"> |
|---|
| | 3693 | <xsl:copy-of select="/bedework/formElements/*"/> |
|---|
| | 3694 | </p> |
|---|
| | 3695 | |
|---|
| | 3696 | <table class="eventFormTable"> |
|---|
| | 3697 | <tr> |
|---|
| | 3698 | <td class="fieldName"> |
|---|
| | 3699 | <xsl:copy-of select="$bwStr-DeLC-Address"/> |
|---|
| | 3700 | </td> |
|---|
| | 3701 | <td> |
|---|
| | 3702 | <xsl:value-of select="/bedework/location/address"/> |
|---|
| | 3703 | </td> |
|---|
| | 3704 | </tr> |
|---|
| | 3705 | <tr class="optional"> |
|---|
| | 3706 | <td> |
|---|
| | 3707 | <xsl:copy-of select="$bwStr-DeLC-SubAddress"/> |
|---|
| | 3708 | </td> |
|---|
| | 3709 | <td> |
|---|
| | 3710 | <xsl:value-of select="/bedework/location/subaddress"/> |
|---|
| | 3711 | </td> |
|---|
| | 3712 | </tr> |
|---|
| | 3713 | <tr class="optional"> |
|---|
| | 3714 | <td> |
|---|
| | 3715 | <xsl:copy-of select="$bwStr-DeLC-LocationURL"/> |
|---|
| | 3716 | </td> |
|---|
| | 3717 | <td> |
|---|
| | 3718 | <xsl:variable name="link" select="/bedework/location/link"/> |
|---|
| | 3719 | <a href="{$link}"> |
|---|
| | 3720 | <xsl:value-of select="/bedework/location/link"/> |
|---|
| | 3721 | </a> |
|---|
| | 3722 | </td> |
|---|
| | 3723 | </tr> |
|---|
| | 3724 | </table> |
|---|
| | 3725 | |
|---|
| | 3726 | <p> |
|---|
| | 3727 | <xsl:copy-of select="$bwStr-DeLR-LocationInUseBy"/> |
|---|
| | 3728 | </p> |
|---|
| | 3729 | |
|---|
| | 3730 | <xsl:if test="/bedework/userInfo/superUser = 'true'"> |
|---|
| | 3731 | <div class="suTitle"><xsl:copy-of select="$bwStr-DeLR-SuperUserMsg"/></div> |
|---|
| | 3732 | <div id="superUserMenu"> |
|---|
| | 3733 | <!-- List collections that reference the location --> |
|---|
| | 3734 | <xsl:if test="/bedework/propRefs/propRef[isCollection = 'true']"> |
|---|
| | 3735 | <h4><xsl:copy-of select="$bwStr-DeLR-Collections"/></h4> |
|---|
| | 3736 | <ul> |
|---|
| | 3737 | <xsl:for-each select="/bedework/propRefs/propRef[isCollection = 'true']"> |
|---|
| | 3738 | <li> |
|---|
| | 3739 | <xsl:variable name="calPath" select="path"/> |
|---|
| | 3740 | <a href="{$calendar-fetchForUpdate}&calPath={$calPath}"> |
|---|
| | 3741 | <xsl:value-of select="path"/> |
|---|
| | 3742 | </a> |
|---|
| | 3743 | </li> |
|---|
| | 3744 | </xsl:for-each> |
|---|
| | 3745 | </ul> |
|---|
| | 3746 | </xsl:if> |
|---|
| | 3747 | <!-- List events that reference the location --> |
|---|
| | 3748 | <xsl:if test="/bedework/propRefs/propRef[isCollection = 'false']"> |
|---|
| | 3749 | <h4><xsl:copy-of select="$bwStr-DeLR-Events"/></h4> |
|---|
| | 3750 | <ul> |
|---|
| | 3751 | <xsl:for-each select="/bedework/propRefs/propRef[isCollection = 'false']"> |
|---|
| | 3752 | <li> |
|---|
| | 3753 | <xsl:variable name="calPath" select="path"/> |
|---|
| | 3754 | <xsl:variable name="guid" select="uid"/> |
|---|
| | 3755 | <!-- only returns the master event --> |
|---|
| | 3756 | <a href="{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}&recurrenceId="> |
|---|
| | 3757 | <xsl:value-of select="uid"/> |
|---|
| | 3758 | </a> |
|---|
| | 3759 | </li> |
|---|
| | 3760 | </xsl:for-each> |
|---|
| | 3761 | </ul> |
|---|
| | 3762 | </xsl:if> |
|---|
| | 3763 | </div> |
|---|
| | 3764 | </xsl:if> |
|---|
| | 3765 | </xsl:template> |
|---|
| | 3766 | |
|---|