Changeset 1114

Show
Ignore:
Timestamp:
12/01/06 14:03:04
Author:
johnsa
Message:

overhaul of the admin client event listing - now uses identical jsp as the public client (this will allow us to combine and simplify the code)

update delete event action to mark events coming from the admin client (public events)

bug fix to display of categories in admin client (display all categories if no preferred categories exist)

Files:

Legend:

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

    r1104 r1114  
    605605          <td> 
    606606            <a href="{$event-fetchForUpdate}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
    607               <xsl:value-of select="title"/> 
     607              <xsl:value-of select="summary"/> 
    608608            </a> 
    609609          </td> 
    610610          <td class="date"> 
    611             <xsl:value-of select="start"/> 
     611            <xsl:value-of select="start/longdate"/>, 
     612            <xsl:value-of select="start/time"/> 
    612613          </td> 
    613614          <td class="date"> 
    614             <xsl:value-of select="end"/> 
     615            <xsl:value-of select="end/longdate"/>, 
     616            <xsl:value-of select="end/time"/> 
    615617          </td> 
    616618          <td> 
     
    618620          </td> 
    619621          <td> 
    620             <xsl:value-of select="desc"/> 
     622            <xsl:value-of select="description"/> 
    621623          </td> 
    622624        </tr> 
     
    10421044            </xsl:if> 
    10431045            <table cellpadding="0" id="allCategoryCheckboxes"> 
    1044               <xsl:if test="/bedeworkadmin/creating='true'"> 
     1046              <xsl:if test="/bedeworkadmin/formElements/form/categories/preferred/category and /bedeworkadmin/creating='true'"> 
    10451047                <xsl:attribute name="class">invisible</xsl:attribute> 
    10461048              </xsl:if> 
     
    11681170              <td align="right"> 
    11691171                <input type="submit" name="delete" value="Delete Event"/> 
     1172                <input type="hidden" name="public" value="true"/> 
    11701173              </td> 
    11711174            </xsl:otherwise> 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r1113 r1114  
    15181518            <table id="attendees" cellspacing="0"> 
    15191519              <tr> 
     1520                <th>attendee</th> 
    15201521                <th>role</th> 
    15211522                <th>status</th> 
    1522                 <th>attendee</th> 
    15231523              </tr> 
    15241524              <xsl:for-each select="attendee"> 
     
    15261526                <xsl:sort select="attendeeUri" order="ascending" case-order="upper-first"/> 
    15271527                <tr> 
    1528                   <td class="role"> 
    1529                     <xsl:value-of select="role"/> 
    1530                   </td> 
    1531                   <td class="status"> 
    1532                     <xsl:value-of select="partstat"/> 
    1533                   </td> 
    15341528                  <td> 
    15351529                    <xsl:variable name="attendeeUri" select="attendeeUri"/> 
     
    15431537                        </xsl:otherwise> 
    15441538                      </xsl:choose> 
     1539                    </a> 
     1540                  </td> 
     1541                  <td class="role"> 
     1542                    <xsl:value-of select="role"/> 
     1543                  </td> 
     1544                  <td class="status"> 
     1545                    <xsl:value-of select="partstat"/> 
     1546                  </td> 
     1547                </tr> 
     1548              </xsl:for-each> 
     1549            </table> 
     1550          </td> 
     1551        </tr> 
     1552      </xsl:if> 
     1553      <xsl:if test="recipient"> 
     1554        <tr> 
     1555          <td class="fieldname">Recipients:</td> 
     1556          <td class="fieldval"> 
     1557            <table id="attendees" cellspacing="0"> 
     1558              <tr> 
     1559                <th>recipient</th> 
     1560              </tr> 
     1561              <xsl:for-each select="recipient"> 
     1562                <tr> 
     1563                  <td> 
     1564                    <xsl:variable name="recipientUri" select="."/> 
     1565                    <a href="{$recipientUri}"> 
     1566                      <xsl:value-of select="."/> 
    15451567                    </a> 
    15461568                  </td>