Changeset 3591

Show
Ignore:
Timestamp:
07/24/12 09:36:01
Author:
johnsa
Message:

admin client: improve single event display

Files:

Legend:

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

    r3590 r3591  
    36633663      </tr> 
    36643664 
    3665       <tr> 
    3666         <th> 
    3667           <xsl:copy-of select="$bwStr-DsEv-TopicalAreas"/> 
    3668         </th> 
    3669         <td> 
    3670            <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS"> 
    3671              <xsl:call-template name="substring-afterLastInstanceOf"> 
    3672                <xsl:with-param name="string" select="values/text"/> 
    3673                <xsl:with-param name="char">/</xsl:with-param> 
    3674              </xsl:call-template><br/> 
    3675            </xsl:for-each> 
    3676         </td> 
    3677       </tr> 
    3678  
    36793665      <!--  Description  --> 
    36803666      <tr> 
     
    36863672        </td> 
    36873673      </tr> 
     3674       
    36883675      <!-- Cost --> 
    3689       <tr class="optional"> 
    3690         <th> 
    3691           <xsl:copy-of select="$bwStr-DsEv-Price"/> 
    3692         </th> 
    3693         <td> 
    3694           <xsl:value-of select="cost"/> 
    3695         </td> 
    3696       </tr> 
     3676      <xsl:if test="cost and cost != ''"> 
     3677              <tr class="optional"> 
     3678                <th> 
     3679                  <xsl:copy-of select="$bwStr-DsEv-Price"/> 
     3680                </th> 
     3681                <td> 
     3682                  <xsl:value-of select="cost"/> 
     3683                </td> 
     3684              </tr> 
     3685      </xsl:if> 
     3686             
    36973687      <!-- Url --> 
    3698       <tr class="optional"> 
    3699         <th> 
    3700           <xsl:copy-of select="$bwStr-DsEv-URL"/> 
    3701         </th> 
    3702         <td> 
    3703           <xsl:variable name="eventLink" select="link"/> 
    3704           <a href="{$eventLink}"> 
    3705             <xsl:value-of select="link"/> 
    3706           </a> 
    3707         </td> 
    3708       </tr> 
     3688      <xsl:if test="link and link != ''"> 
     3689              <tr class="optional"> 
     3690                <th> 
     3691                  <xsl:copy-of select="$bwStr-DsEv-URL"/> 
     3692                </th> 
     3693                <td> 
     3694                  <xsl:variable name="eventLink" select="link"/> 
     3695                  <a href="{$eventLink}"> 
     3696                    <xsl:value-of select="link"/> 
     3697                  </a> 
     3698                </td> 
     3699              </tr> 
     3700            </xsl:if> 
    37093701 
    37103702      <!-- Location --> 
     
    37653757      </tr> 
    37663758 
     3759      <tr> 
     3760        <th> 
     3761          <xsl:copy-of select="$bwStr-DsEv-TopicalAreas"/> 
     3762        </th> 
     3763        <td> 
     3764           <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS"> 
     3765             <xsl:sort order="ascending" select="parameters/X-BEDEWORK-PARAM-DISPLAYNAME"/> 
     3766             <xsl:value-of select="parameters/X-BEDEWORK-PARAM-DISPLAYNAME"/><br/> 
     3767           </xsl:for-each> 
     3768        </td> 
     3769      </tr> 
     3770 
    37673771      <!--  Categories  --> 
    37683772      <tr> 
     
    37723776        <td> 
    37733777          <xsl:for-each select="categories/category"> 
    3774             <xsl:value-of select="word"/><br/> 
     3778            <xsl:sort order="ascending" select="value"/> 
     3779            <xsl:value-of select="value"/><br/> 
    37753780          </xsl:for-each> 
    37763781        </td>