Changeset 3582

Show
Ignore:
Timestamp:
07/17/12 17:44:05
Author:
johnsa
Message:

provide access to event registrations through the Bedework administrative client

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webadmin/webapp/resources/default/default/default.xsl

    r3581 r3582  
    7777  <!-- Use the regisration module? --> 
    7878  <xsl:variable name="bwUseRegistrationSystem">true</xsl:variable> 
     79  <xsl:variable name="bwRegistrationRoot">/eventreg</xsl:variable> 
    7980 
    8081  <!-- Properly encoded prefixes to the application actions; use these to build 
     
    30203021                  </script> 
    30213022                </xsl:if> 
     3023                      <xsl:if test="eventregAdminToken"> 
     3024                        <p> 
     3025                          <xsl:variable name="registrationsHref"><xsl:value-of select="$bwRegistrationRoot"/>/admin/adminAgenda.do?href=<xsl:value-of select="form/calendar/event/encodedPath"/>/<xsl:value-of select="name"/>&amp;atkn=<xsl:value-of select="eventregAdminToken"/></xsl:variable> 
     3026                          <xsl:variable name="registrationsDownloadHref"><xsl:value-of select="$bwRegistrationRoot"/>/admin/download.do?href=<xsl:value-of select="form/calendar/event/encodedPath"/>/<xsl:value-of select="name"/>&amp;atkn=<xsl:value-of select="eventregAdminToken"/></xsl:variable> 
     3027                          <button onclick="launchSizedWindow('{$registrationsHref}', '1000', '600');return false;"><xsl:copy-of select="$bwStr-AEEF-ViewRegistrations"/></button> 
     3028                          <xsl:text> </xsl:text> 
     3029                          <button onclick="location.href='{$registrationsDownloadHref}';return false;"><xsl:copy-of select="$bwStr-AEEF-DownloadRegistrations"/></button> 
     3030                        </p> 
     3031                      </xsl:if> 
    30223032                          </div> 
    30233033                  </td> 
  • trunk/deployment/webadmin/webapp/resources/default/default/strings.xsl

    r3581 r3582  
    286286  <xsl:variable name="bwStr-AEEF-RegistrationCloses">Registration closes:</xsl:variable> 
    287287  <xsl:variable name="bwStr-AEEF-RegistrationClosesInfo">(date/time of registration cut off)</xsl:variable> 
     288  <xsl:variable name="bwStr-AEEF-ViewRegistrations">View registrations</xsl:variable> 
     289  <xsl:variable name="bwStr-AEEF-DownloadRegistrations">Download registrations</xsl:variable> 
    288290  <xsl:variable name="bwStr-AEEF-Optional">(optional)</xsl:variable> 
    289291 
  • trunk/deployment/webadmin/webapp/resources/es_ES/default/default.xsl

    r3581 r3582  
    7373  <xsl:variable name="submissionsRootEncoded" select="/bedework/submissionsRoot/encoded"/> 
    7474  <xsl:variable name="submissionsRootUnencoded" select="/bedework/submissionsRoot/unencoded"/> 
     75 
     76  <!-- Switches for Optional Modules --> 
     77  <!-- Use the regisration module? --> 
     78  <xsl:variable name="bwUseRegistrationSystem">true</xsl:variable> 
    7579 
    7680  <!-- Properly encoded prefixes to the application actions; use these to build 
     
    30173021                  </script> 
    30183022                </xsl:if> 
     3023                      <xsl:if test="form/eventregAdminToken"> 
     3024                        <p><a href=""><xsl:copy-of select="$bwStr-AEEF-ViewRegistrations"/></a></p> 
     3025                      </xsl:if> 
    30193026                  </div> 
    30203027          </td> 
  • trunk/deployment/webadmin/webapp/resources/es_ES/default/strings.xsl

    r3581 r3582  
    286286  <xsl:variable name="bwStr-AEEF-RegistrationCloses">Registration closes:</xsl:variable> 
    287287  <xsl:variable name="bwStr-AEEF-RegistrationClosesInfo">(date/time of registration cut off)</xsl:variable> 
     288  <xsl:variable name="bwStr-AEEF-ViewRegistrations">View event registrations</xsl:variable> 
     289  <xsl:variable name="bwStr-AEEF-DownloadRegistrations">Download registrations</xsl:variable> 
    288290  <xsl:variable name="bwStr-AEEF-Optional">(opcional)</xsl:variable> 
    289291