Changeset 1438

Show
Ignore:
Timestamp:
06/20/07 11:56:14
Author:
johnsa
Message:

user client: scheduling auto-response preferences completed in UI

Files:

Legend:

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

    r1437 r1438  
    127127  <xsl:variable name="prefs-fetchForUpdate" select="/bedework/urlPrefixes/prefs/fetchForUpdate/a/@href"/> 
    128128  <xsl:variable name="prefs-update" select="/bedework/urlPrefixes/prefs/update/a/@href"/> 
    129   <xsl:variable name="prefs-updateSchedulingOptions" select="/bedework/urlPrefixes/prefs/updateSchedulingOptions/a/@href"/> 
    130129  <xsl:variable name="prefs-fetchSchedulingForUpdate" select="/bedework/urlPrefixes/prefs/fetchSchedulingForUpdate/a/@href"/> 
    131130  <xsl:variable name="prefs-setAccess" select="/bedework/urlPrefixes/prefs/setAccess/a/@href"/> 
     131  <xsl:variable name="prefs-updateSchedulingPrefs" select="/bedework/urlPrefixes/prefs/updateSchedulingPrefs/a/@href"/> 
    132132  <!-- scheduling --> 
    133133  <xsl:variable name="showInbox" select="/bedework/urlPrefixes/schedule/showInbox/a/@href"/> 
     
    67546754    </table> 
    67556755     
    6756     <form name="eventForm" method="post" action="{$prefs-updateSchedulingOptions}"> 
     6756    <form name="eventForm" method="post" action="{$prefs-updateSchedulingPrefs}"> 
    67576757      <table class="common"> 
    6758         <tr><td colspan="2" class="fill">Scheduling auto-respond options:</td></tr> 
     6758        <tr><td colspan="2" class="fill">Scheduling auto-respond preferences:</td></tr> 
    67596759        <tr> 
    67606760          <td class="fieldname"> 
     
    67626762          </td> 
    67636763          <td> 
    6764             <input type="radio" name="scheduleAutoRespond" value="true" checked="checked"/> true 
    6765             <input type="radio" name="scheduleAutoRespond" value="false"/> false 
     6764            <input type="radio" name="scheduleAutoRespond" value="true"> 
     6765              <xsl:if test="scheduleAutoRespond = 'true'"> 
     6766                <xsl:attribute name="checked">checked</xsl:attribute> 
     6767              </xsl:if> 
     6768              true 
     6769            </input> 
     6770            <input type="radio" name="scheduleAutoRespond" value="false"> 
     6771              <xsl:if test="scheduleAutoRespond = 'false'"> 
     6772                <xsl:attribute name="checked">checked</xsl:attribute> 
     6773              </xsl:if> 
     6774              false 
     6775            </input> 
    67666776          </td> 
    67676777        </tr> 
    67686778        <tr> 
    67696779          <td class="fieldname"> 
    6770             Auto-cancel action
     6780            Auto-cancel processing
    67716781          </td> 
    67726782          <td> 
    67736783            <select name="scheduleAutoCancelAction"> 
    6774               <option value=""></option> 
    6775               <option value="delete">delete event</option> 
     6784              <option value="0"> 
     6785                <xsl:if test="scheduleAutoCancelAction = '0'"> 
     6786                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6787                </xsl:if> 
     6788                do not process auto-cancels 
     6789              </option> 
     6790              <option value="1"> 
     6791                <xsl:if test="scheduleAutoCancelAction = '1'"> 
     6792                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6793                </xsl:if> 
     6794                set event status to CANCELLED 
     6795              </option> 
     6796              <option value="2"> 
     6797                <xsl:if test="scheduleAutoCancelAction = '2'"> 
     6798                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6799                </xsl:if> 
     6800                delete the event 
     6801              </option> 
    67766802            </select> 
    67776803          </td> 
     
    67826808          </td> 
    67836809          <td> 
    6784             <input type="radio" name="scheduleDoubleBook" value="true"/> true 
    6785             <input type="radio" name="scheduleDoubleBook" value="false" checked="checked"/> false 
     6810            <input type="radio" name="scheduleDoubleBook" value="true"> 
     6811              <xsl:if test="scheduleDoubleBook = 'true'"> 
     6812                <xsl:attribute name="checked">checked</xsl:attribute> 
     6813              </xsl:if>  
     6814              true 
     6815            </input> 
     6816            <input type="radio" name="scheduleDoubleBook" value="false"> 
     6817              <xsl:if test="scheduleDoubleBook = 'false'"> 
     6818                <xsl:attribute name="checked">checked</xsl:attribute> 
     6819              </xsl:if>  
     6820              false 
     6821            </input> 
    67866822          </td> 
    67876823        </tr> 
     
    67926828          <td> 
    67936829            <select name="scheduleAutoProcessResponses"> 
    6794               <option value="0">leave in Inbox for manual processing</option> 
    6795               <option value="1">process "Accept" responses - leave the rest in Inbox</option> 
    6796               <option value="2">try to process all responses</option> 
     6830              <option value="0"> 
     6831                <xsl:if test="scheduleAutoProcessResponses = '0'"> 
     6832                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6833                </xsl:if> 
     6834                leave in Inbox for manual processing 
     6835              </option> 
     6836              <option value="1"> 
     6837                <xsl:if test="scheduleAutoProcessResponses = '1'"> 
     6838                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6839                </xsl:if> 
     6840                process "Accept" responses - leave the rest in Inbox 
     6841              </option> 
     6842              <option value="2"> 
     6843                <xsl:if test="scheduleAutoProcessResponses = '2'"> 
     6844                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6845                </xsl:if> 
     6846                try to process all responses 
     6847              </option> 
    67976848            </select> 
    67986849          </td> 
    67996850        </tr> 
    68006851      </table> 
     6852      <input type="submit" name="modPrefs" value="Update auto-respond preferences"/> 
     6853      <input type="reset" value="Reset"/> 
     6854      <input type="submit" name="cancelled" value="cancel"/> 
    68016855    </form> 
    68026856  </xsl:template>