Changeset 1120

Show
Ignore:
Timestamp:
12/07/06 16:49:15
Author:
johnsa
Message:

beginning to add timezone elements, floating, and store dates as UTC to event form

Files:

Legend:

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

    r1115 r1120  
    12751275 
    12761276    <table class="eventFormTable"> 
    1277  
    12781277      <tr> 
    12791278        <th> 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r1118 r1120  
    973973    <xsl:variable name="recurrenceId" select="recurrenceId"/> 
    974974    <xsl:if test="currentAccess/current-user-privilege-set/privilege/write-content"> 
     975      <xsl:choose> 
     976        <xsl:when test="recurring='true'"> 
     977          Edit: 
     978          <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
     979            master event 
     980          </a> 
     981          <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
     982            this instance 
     983          </a> 
     984        </xsl:when> 
     985        <xsl:otherwise> 
     986          <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
     987            Edit 
     988          </a> 
     989        </xsl:otherwise> 
     990      </xsl:choose> 
     991      | 
     992    </xsl:if> 
     993    <xsl:if test="owner != /bedework/userid"> 
     994      <xsl:choose> 
     995        <xsl:when test="recurring='true'"> 
     996          Annotate: 
     997          <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
     998            master event 
     999          </a> 
     1000          <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
     1001            this instance 
     1002          </a> 
     1003        </xsl:when> 
     1004        <xsl:otherwise> 
     1005          <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
     1006            Annotate 
     1007          </a> 
     1008        </xsl:otherwise> 
     1009      </xsl:choose> 
     1010      | 
     1011    </xsl:if> 
     1012    <xsl:if test="owner != /bedework/userid"> 
     1013      <xsl:variable name="subname" select="subscription/name"/> 
     1014      <a href="{$subscriptions-fetchForUpdate}&amp;subname={$subname}"> 
     1015        Subscription 
     1016      </a> 
     1017      | 
     1018    </xsl:if> 
    9751019    <xsl:choose> 
    9761020      <xsl:when test="recurring='true'"> 
    977         Edit
    978         <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
    979           master event 
     1021        Delete
     1022        <a href="{$delEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
     1023          all 
    9801024        </a> 
    981         <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
     1025        <a href="{$delEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
    9821026          this instance 
    9831027        </a> 
    9841028      </xsl:when> 
    9851029      <xsl:otherwise> 
    986         <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
    987           Edit 
     1030        <a href="{$delEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
     1031          Delete 
    9881032        </a> 
    9891033      </xsl:otherwise> 
    9901034    </xsl:choose> 
    991     | 
    992   </xsl:if> 
    993   <xsl:if test="owner != /bedework/userid"> 
    994     <xsl:choose> 
    995       <xsl:when test="recurring='true'"> 
    996         Annotate: 
    997         <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
    998           master event 
    999         </a> 
    1000         <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
    1001           this instance 
    1002         </a> 
    1003       </xsl:when> 
    1004       <xsl:otherwise> 
    1005         <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
    1006           Annotate 
    1007         </a> 
    1008       </xsl:otherwise> 
    1009     </xsl:choose> 
    1010     | 
    1011   </xsl:if> 
    1012   <xsl:if test="owner != /bedework/userid"> 
    1013     <xsl:variable name="subname" select="subscription/name"/> 
    1014     <a href="{$subscriptions-fetchForUpdate}&amp;subname={$subname}"> 
    1015       Subscription 
    1016     </a> 
    1017     | 
    1018   </xsl:if> 
    1019   <xsl:choose> 
    1020     <xsl:when test="recurring='true'"> 
    1021       Delete: 
    1022       <a href="{$delEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
    1023         all 
    1024       </a> 
    1025       <a href="{$delEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
    1026         this instance 
    1027       </a> 
    1028     </xsl:when> 
    1029     <xsl:otherwise> 
    1030       <a href="{$delEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
    1031         Delete 
    1032       </a> 
    1033     </xsl:otherwise> 
    1034   </xsl:choose> 
    10351035  </xsl:template> 
    10361036 
     
    13231323            </a> 
    13241324            <xsl:if test="currentAccess/current-user-privilege-set/privilege/write-content"> 
     1325             | 
    13251326              <xsl:choose> 
    13261327                <xsl:when test="recurring='true'"> 
     1328                  <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/> 
    13271329                  Edit: 
    13281330                  <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
    1329                     <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/> 
    13301331                    master event 
    13311332                  </a> 
    13321333                  <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
    1333                     <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit instance"/> 
    13341334                    this instance 
    13351335                  </a> 
     
    13441344            </xsl:if> 
    13451345            <xsl:if test="owner != /bedework/userid"> 
     1346              | 
    13461347              <xsl:choose> 
    13471348                <xsl:when test="recurring='true'"> 
     1349                  <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/> 
    13481350                  Annotate: 
    13491351                  <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
    1350                     <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/> 
    13511352                    master event 
    13521353                  </a> 
    13531354                  <a href="{$editEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
    1354                     <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit instance"/> 
    13551355                    this instance 
    13561356                  </a> 
     
    13651365            </xsl:if> 
    13661366            <xsl:if test="owner != /bedework/userid"> 
     1367              | 
    13671368              <xsl:variable name="subname" select="subscription/name"/> 
    13681369              <a href="{$subscriptions-fetchForUpdate}&amp;subname={$subname}"> 
     
    13711372              </a> 
    13721373            </xsl:if> 
     1374            | 
    13731375            <xsl:choose> 
    13741376              <xsl:when test="recurring='true'"> 
     1377                <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete all"/> 
    13751378                Delete: 
    13761379                <a href="{$delEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}"> 
    1377                   <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete all"/> 
    13781380                  all 
    13791381                </a> 
    13801382                <a href="{$delEvent}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
    1381                   <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete instance"/> 
    13821383                  this instance 
    13831384                </a> 
     
    17551756              </xsl:otherwise> 
    17561757            </xsl:choose> 
    1757             all day event<br/> 
     1758            all day event 
     1759            <input type="checkbox" name="floating" onclick="swapFloatingTime(this)" value="off"/> 
     1760            floating 
     1761            <input type="checkbox" name="floating" onclick="swapFloatingTime(this)" value="off"/> 
     1762            store as UTC 
     1763            <br/> 
    17581764            <div class="dateStartEndBox"> 
    17591765              <strong>Start:</strong>