Changeset 1215

Show
Ignore:
Timestamp:
01/10/07 17:53:57
Author:
johnsa
Message:

user client

- fix transparency, link, and

status in add event form

Files:

Legend:

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

    r1214 r1215  
    22602260          <td class="fieldval"> 
    22612261            <xsl:variable name="link" select="form/link/input/@value"/> 
    2262             <xsl:choose> 
    2263               <xsl:when test="/bedework/creating = 'true'"> 
    2264                 <input type="text" name="newEvent.link" size="80" value="{$link}"/> 
    2265               </xsl:when> 
    2266               <xsl:otherwise> 
    2267                 <input type="text" name="event.link" size="80" value="{$link}"/> 
    2268               </xsl:otherwise> 
    2269             </xsl:choose> 
     2262            <input type="text" name="event.link" size="80" value="{$link}"/> 
    22702263          </td> 
    22712264        </tr> 
     
    23182311          </td> 
    23192312          <td class="fieldval"> 
     2313            <input type="radio" name="event.status" value="CONFIRMED"> 
     2314              <xsl:if test="form/status = 'CONFIRMED' or /bedework/creating = 'true'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
     2315            </input> 
     2316            confirmed 
     2317            <input type="radio" name="event.status" value="TENTATIVE"> 
     2318              <xsl:if test="form/status = 'TENTATIVE'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
     2319            </input> 
     2320            tentative 
     2321            <input type="radio" name="event.status" value="CANCELLED"> 
     2322              <xsl:if test="form/status = 'CANCELLED'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
     2323            </input> 
     2324            cancelled 
     2325          </td> 
     2326        </tr> 
     2327        <!--  Transparency  --> 
     2328        <tr> 
     2329          <td class="fieldname"> 
     2330            Effects free/busy: 
     2331          </td> 
     2332          <td class="fieldval"> 
    23202333            <xsl:choose> 
    2321               <xsl:when test="/bedework/creating = 'true'"> 
    2322                 <input type="radio" name="newEvent.status" value="CONFIRMED" checked="checked"/>confirmed <input type="radio" name="newEvent.status" value="TENTATIVE"/>tentative <input type="radio" name="newEvent.status" value="CANCELLED"/>cancelled 
     2334              <xsl:when test="form/transparency = 'TRANSPARENT'"> 
     2335                <input type="radio" name="event.transparency" value="OPAQUE"/>yes <span class="note">(opaque: event status affects your free/busy)</span><br/> 
     2336                <input type="radio" name="event.transparency" value="TRANSPARENT" checked="checked"/>no <span class="note">(transparent: event status does not affect your free/busy)</span> 
    23232337              </xsl:when> 
    23242338              <xsl:otherwise> 
    2325                 <input type="radio" name="event.status" value="CONFIRMED"/> 
    2326                 <xsl:if test="form/status = 'CONFIRMED'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
    2327                 confirmed 
    2328                 <input type="radio" name="event.status" value="TENTATIVE"/> 
    2329                 <xsl:if test="form/status = 'TENTATIVE'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
    2330                 tentative 
    2331                 <input type="radio" name="event.status" value="CANCELLED"/> 
    2332                 <xsl:if test="form/status = 'CANCELLED'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
    2333                 cancelled 
    2334               </xsl:otherwise> 
    2335             </xsl:choose> 
    2336           </td> 
    2337         </tr> 
    2338         <!--  Transparency  --> 
    2339         <tr> 
    2340           <td class="fieldname"> 
    2341             Effects free/busy: 
    2342           </td> 
    2343           <td class="fieldval"> 
    2344             <xsl:choose> 
    2345               <xsl:when test="/bedework/creating = 'true'"> 
    2346                 <input type="radio" name="newEvent.transparency" value="OPAQUE" checked="checked"/>yes <span class="note">(opaque: event status affects your free/busy)</span><br/> 
    2347                 <input type="radio" name="newEvent.transparency" value="TRANSPARENT"/>no <span class="note">(transparent: event status does not affect your free/busy)</span> 
    2348               </xsl:when> 
    2349               <xsl:otherwise> 
    2350                 <xsl:choose> 
    2351                   <xsl:when test="form/transparency = 'TRANSPARENT'"> 
    2352                     <input type="radio" name="event.transparency" value="OPAQUE"/>yes <span class="note">(opaque: event status affects your free/busy)</span><br/> 
    2353                     <input type="radio" name="event.transparency" value="TRANSPARENT" checked="checked"/>no <span class="note">(transparent: event status does not affect your free/busy)</span> 
    2354                   </xsl:when> 
    2355                   <xsl:otherwise> 
    2356                     <input type="radio" name="event.transparency" value="OPAQUE" checked="checked"/>yes <span class="note">(opaque: event status affects your free/busy)</span><br/> 
    2357                     <input type="radio" name="event.transparency" value="TRANSPARENT"/>no <span class="note">(transparent: event status does not affect your free/busy)</span> 
    2358                   </xsl:otherwise> 
    2359                 </xsl:choose> 
     2339                <input type="radio" name="event.transparency" value="OPAQUE" checked="checked"/>yes <span class="note">(opaque: event status affects your free/busy)</span><br/> 
     2340                <input type="radio" name="event.transparency" value="TRANSPARENT"/>no <span class="note">(transparent: event status does not affect your free/busy)</span> 
    23602341              </xsl:otherwise> 
    23612342            </xsl:choose>