head	1.16;
access;
symbols;
locks; strict;
comment	@# @;


1.16
date	2001.08.24.01.39.32;	author tfahrner;	state Exp;
branches;
next	1.15;

1.15
date	2001.08.20.22.29.21;	author tfahrner;	state Exp;
branches;
next	1.14;

1.14
date	2001.08.03.05.45.05;	author tfahrner;	state Exp;
branches;
next	1.13;

1.13
date	2001.08.03.04.44.22;	author tfahrner;	state Exp;
branches;
next	1.12;

1.12
date	2001.07.31.01.18.38;	author tfahrner;	state Exp;
branches;
next	1.11;

1.11
date	2001.07.31.00.01.54;	author tfahrner;	state Exp;
branches;
next	1.10;

1.10
date	2001.07.30.21.59.21;	author tfahrner;	state Exp;
branches;
next	1.9;

1.9
date	2001.07.30.21.24.23;	author tfahrner;	state Exp;
branches;
next	1.8;

1.8
date	2001.06.08.21.27.21;	author beril;	state Exp;
branches;
next	1.7;

1.7
date	2001.06.08.04.25.09;	author jefflove;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.08.02.05.19;	author jefflove;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.07.22.38.06;	author beril;	state Exp;
branches;
next	1.4;

1.4
date	2001.05.29.19.40.54;	author ms;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.25.01.49.13;	author ms;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.24.18.48.46;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.23.02.03.11;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.16
log
@removed redundant task links
@
text
@<div id="usergrouplist" class="app">

 <h3>All User Groups : $currentDomain.getName()</h3>

 #set( $userGroups = $currentDomain.getUserGroups($itemsPerPage, $filter) )
 #set( $thisPage = $userGroups.getPage($paginated_page) )

  #if( $currentDomain.getUserGroups().isEmpty() )
   #set( $noUserGroups = true )
  #end

 #if( !$userGroups.isEmpty() )

 <table border="1" cellspacing="2" cellpadding="3" width="100%">
  <tr>
   <th>Group</th>
   <th>Elements</th>
   <th>Description</th>
  </tr>

  #set ($rowClass="a")
  #foreach( $group in $thisPage )
   <tr class="$rowClass"> 
    <td nowrap="nowrap">
     #if( $acl.hasPermission("UserGroup - Edit", $currentDomain) )
      <a href="UserGroupEdit?userGroupID=$group.getID()">$group.getName()</a>
     #else
      $group.getName()
     #end
    </td> 
    <td>$group.getNumberOfUsers()</td> 
    <td>$group.getDescription()</td> 
   </tr> 

  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end
  #end
</table>

 #else
  <p><strong class="alert">
   #if( $noUserGroups )
    There are not yet any user groups on this site.
   #else
    No matching user groups were found.
   #end
   </strong>
</p>
 #end

#if( !$noUserGroups )
 <p class="paginate">
  ${userGroups.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}
 </p>

  <form method="post" action="UserGroupList">
    #parse( "org/tigris/helm/tool/paginate/Filter.vm" )
  </form>
#end
</div>
@


1.15
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@a0 1

a3 5
 #if( $acl.hasPermission("UserGroup - Add", $currentDomain) )
 <p class="affordance">
   <a href="UserGroupAdd">Add New Group</a>
 </p> 
 #end
@


1.14
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a0 1
#parse( "Admin_Nav.vm" )
a2 3
<h2>
 #parse( "Nomen.vm" )
</h2>
@


1.13
log
@restoring admin options nav, fixing html in ProjectAdd
@
text
@a6 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


1.12
log
@included "task nav" below headlines
@
text
@d1 1
@


1.11
log
@pulled admin options, added headlines
@
text
@d6 4
@


1.10
log
@html usage revision to synch with scarab
@
text
@a0 1
#parse( "Admin_Nav.vm" )
d3 3
@


1.9
log
@removed dependency on CSS for differentiation of alerts
@
text
@d3 1
a3 1
<div id="usergrouplist">
d20 1
a20 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.8
log
@recoded the html according to new css/html standards
@
text
@d50 1
a50 1
  <p class="alert">
d56 2
a57 1
   </p>
d69 1
a69 1
</div>@


1.7
log
@general xhtml cleanup
@
text
@d60 1
a60 1
 <p>
@


1.6
log
@simplified html further, made vm logic mirror that of userlist.vm so table isnt rendered if no data
@
text
@d4 1
a4 1
 <h4>All User Groups : $currentDomain.getName()</h4>
d46 1
a47 1
  #end
@


1.5
log
@recoded the servlet pages according to the new css/html standards
@
text
@d5 1
a6 1
 #if( $acl.hasPermission("UserGroup - Add", $currentDomain) )
d8 1
d10 9
a18 1
 </p>
a26 17
 #set( $userGroups = $currentDomain.getUserGroups($itemsPerPage, $filter) )
 #set( $thisPage = $userGroups.getPage($paginated_page) )

 #if( $userGroups.isEmpty() )
  #if( $currentDomain.getUserGroups().isEmpty() )
   #set( $noUserGroups = true )
  #end
  <tr> 
   <td colspan="3" class="warning">
   #if( $noUserGroups )
    There are not yet any user groups on this site.
   #else
    No matching user groups were found.
   #end
   </td>
  </tr>
 #else
d46 1
a46 1

d49 8
a57 1
</table>
d63 1
a63 1
 <p>
a66 1
 </p>
@


1.4
log
@fixed syntax errors
@
text
@d3 7
a9 12
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
 <TR>
  <TD  CLASS="Header" nowrap><B>All User Groups:</B>
   <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN>
  </TD>
  #if( $acl.hasPermission("UserGroup - Add", $currentDomain) )
   <TD CLASS="PlainText">
    <A HREF="UserGroupAdd">Add New Group</A>
   </TD>
  #end
 </TR>
</TABLE>
d11 6
a16 6
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" width="100%">
 <TR>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Group</TD>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Elements&nbsp;&nbsp;</TD>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Description</TD>
 </TR>
d25 2
a26 3

  <TR> 
   <TD class="PlainText" VALIGN="top">
d28 1
a28 1
    <I>There are not yet any user groups on this site.</I>
d30 1
a30 1
    <span class="Warning">No matching user groups were found.</span>
d32 2
a33 2
   </TD>
  </TR>
d35 1
d37 2
a38 2
   <TR> 
    <TD class="PlainText" VALIGN="top">
d40 1
a40 1
      <A HREF="UserGroupEdit?userGroupID=$group.getID()">$group.getName()</A>
d44 11
a54 22
    </TD> 
    <TD class="PlainText" VALIGN="top">$group.getNumberOfUsers()</TD> 
    <TD class="PlainText">$group.getDescription()</TD> 
   </TR> 

   <TR>
    <TD COLSPAN="3">
     <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
      <TR>
       <TD BGCOLOR="#efefef" HEIGHT="1">
        <SPACER TYPE="block" HEIGHT="1">
       </TD>
      </TR>
     </TABLE>
    </TD> 
   </TR>
 
   <TR>
    <TD COLSPAN="3" ALIGN="center" CLASS="PlainText">
     ${userGroups.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}
    </TD>
   </TR>
d56 1
d58 1
d60 6
a65 8
 <TR>
  <TD COLSPAN="3"><hr size="1" noshade></TD>
 </TR>

 #if( !$noUserGroups )
  <TR>
   <TD COLSPAN="3">
   <FORM METHOD="post" ACTION="UserGroupList">
d67 4
a70 6
   </FORM>
  </TR>
 #end
</TABLE>

</FORM>
@


1.3
log
@fixed broken args passing in templates made by conversion program
@
text
@d23 1
a23 1
 #set( $userGroups = $currentDomain.getUserGroups($itemsPerPage, $filter)
@


1.2
log
@Removed BRAND_TEMPLATE_ROOT, SERVLET_TEMPLATE_ROOT, and SANDBOX from use in #include and #parse directives (deprecated by multiple template paths).
@
text
@d23 1
a23 1
 #set( $userGroups = $currentDomain.getUserGroups($itemsPerPage, )$filter)
@


1.1
log
@Adding Velocity templates.
@
text
@d1 1
a1 1
#parse( "$BRAND_TEMPLATE_ROOT/Admin_Nav.vm" )
d82 1
a82 1
    #parse( "${SERVLET_TEMPLATE_ROOT}/org/tigris/helm/tool/paginate/Filter.vm" )
@

