Changeset 283

Show
Ignore:
Timestamp:
03/15/06 10:23:06
Author:
johnsa
Message:

updated add/remove admin group members presentation in admin client

Files:

Legend:

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

    r279 r283  
    27502750          <table id="memberAccountList"> 
    27512751            <xsl:for-each select="/bedeworkadmin/adminGroup/members/member"> 
    2752               <!--<xsl:sort select="account" order="ascending" case-order="upper-first"/>--> 
    2753               <tr> 
    2754                 <td> 
    2755                   <xsl:choose> 
    2756                     <xsl:when test="kind='0'"><img src="{$resourcesRoot}/resources/userIcon.gif" width="13" height="13" border="0" alt="user"/></xsl:when> 
    2757                     <xsl:when test="kind='1'"><img src="{$resourcesRoot}/resources/groupIcon.gif" width="13" height="13" border="0" alt="group"/></xsl:when> 
    2758                     <xsl:when test="kind='3'"></xsl:when> 
    2759                     <xsl:otherwise></xsl:otherwise> 
    2760                   </xsl:choose> 
    2761                 </td> 
    2762                 <td> 
    2763                   <xsl:value-of select="account"/> 
    2764                 </td> 
    2765                 <td> 
    2766                   <xsl:variable name="acct" select="account"/> 
    2767                   <xsl:choose> 
    2768                     <xsl:when test="kind='0'"> 
    2769                       <a href="{$admingroup-updateMembers}&amp;removeGroupMember={$acct}&amp;kind=user" title="remove"> 
    2770                         <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> 
    2771                       </a> 
    2772                     </xsl:when> 
    2773                     <xsl:when test="kind='1'"> 
     2752              <xsl:choose> 
     2753                <xsl:when test="kind='0'"><!-- kind = user --> 
     2754                  <tr> 
     2755                    <td> 
     2756                      <img src="{$resourcesRoot}/resources/userIcon.gif" width="13" height="13" border="0" alt="user"/> 
     2757                    </td> 
     2758                    <td> 
     2759                      <xsl:value-of select="account"/> 
     2760                    </td> 
     2761                    <td> 
     2762                      <xsl:variable name="acct" select="account"/> 
     2763                        <a href="{$admingroup-updateMembers}&amp;removeGroupMember={$acct}&amp;kind=user" title="remove"> 
     2764                          <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> 
     2765                        </a> 
     2766                    </td> 
     2767                  </tr> 
     2768                </xsl:when> 
     2769                <xsl:otherwise><!-- kind = group --> 
     2770                  <tr> 
     2771                    <td> 
     2772                      <img src="{$resourcesRoot}/resources/groupIcon.gif" width="13" height="13" border="0" alt="group"/> 
     2773                    </td> 
     2774                    <td> 
     2775                      <strong><xsl:value-of select="account"/></strong> 
     2776                    </td> 
     2777                    <td> 
     2778                      <xsl:variable name="acct" select="account"/> 
    27742779                      <a href="{$admingroup-updateMembers}&amp;removeGroupMember={$acct}&amp;kind=group" title="remove"> 
    27752780                        <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/> 
    27762781                      </a> 
    2777                     </xsl:when
    2778                   </xsl:choose
    2779                 </td
    2780               </tr
     2782                    </td
     2783                  </tr
     2784                </xsl:otherwise
     2785              </xsl:choose
    27812786            </xsl:for-each> 
    27822787          </table> 
     
    27862791    <p> 
    27872792      <img src="{$resourcesRoot}/resources/userIcon.gif" width="13" height="13" border="0" alt="user"/> user, 
    2788       <img src="{$resourcesRoot}/resources/groupIcon.gif" width="13" height="13" border="0" alt="group"/> group 
     2793      <img src="{$resourcesRoot}/resources/groupIcon.gif" width="13" height="13" border="0" alt="group"/><xsl:text> </xsl:text><strong>group</strong> 
    27892794    </p> 
    27902795  </xsl:template> 
  • trunk/calendar3/deployment/webadmin/webapp/resources/default/default/errors.xsl

    r248 r283  
    148148        Error: duplicate admin group.  <em><xsl:value-of select="param"/></em> already exists. 
    149149      </xsl:when> 
     150      <xsl:when test="id='org.bedework.error.unknowgroup'"> 
     151        Error: unknown admin group:  <em><xsl:value-of select="param"/></em> 
     152      </xsl:when> 
    150153      <xsl:when test="id='edu.rpi.sss.util.error.exc'"> 
    151154        Utility package error: <em><xsl:value-of select="param"/></em> 
  • trunk/calendar3/webadmin/war/docs/error.jsp

    r2 r283  
    4242    </div> 
    4343    <div id="footer"> 
    44       Based on the <a href="http://www.washington.edu/ucal/">University of Washington Calendar</a> 
     44      Based on the <a href="http://www.bedework.org/">Bedework Calendar</a> 
    4545    </div> 
    4646  </body>