head	1.20;
access;
symbols
	TIGRIS_1_1_0RC2:1.16.6.2
	TIGRIS_1_1_0RC1:1.16.6.2
	TIGRIS_1_1:1.16.6.2.0.2
	TIGRIS_1_0_8:1.16.6.2
	TIGRIS_1_0_8RC3:1.16.6.2
	TIGRIS_1_0_8RC2:1.16.6.2
	TIGRIS_1_0_8RC1:1.16.6.2
	TIGRIS_1_0_7:1.16.6.2
	TIGRIS_1_0_7RC3:1.16.6.2
	TIGRIS_1_0_7RC2:1.16.6.2
	TIGRIS_1_0_7RC1:1.16.6.2
	TIGRIS_1_0_6:1.16.6.2
	TIGRIS_1_0_6RC5:1.16.6.2
	TIGRIS_1_0_6RC4:1.16.6.2
	TIGRIS_1_0_6RC3:1.16.6.2
	TIGRIS_1_0_6RC2:1.16.6.2
	TIGRIS_1_0_6RC1:1.16.6.2
	TIGRIS_1_0_5:1.16.6.2
	TIGRIS_1_0_5RC6:1.16.6.2
	TIGRIS_1_0_5RC5:1.16.6.2
	TIGRIS_1_0_5RC4:1.16.6.2
	TIGRIS_1_0_5RC3:1.16.6.2
	TIGRIS_1_0_5RC2:1.16.6.2
	TIGRIS_1_0_5RC1:1.16.6.2
	TIGRIS_1_0_4:1.16.6.2
	TIGRIS_1_0_3:1.16
	TIGRIS_1_0_2:1.16
	TIGRIS_1_0_1:1.16
	TIGRIS_1_0:1.16.0.6
	TIGRIS_1_0_0:1.16
	TIGRIS_1_0_0_RC1:1.16.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.5
	TIGRIS_0_9_2_3:1.5
	HELM_PEER_PORT_BRANCH:1.1.1.1
	TURBINE_PEER:1.5
	TIGRIS_0_9_2_1:1.5
	TIGRIS_0_9_2:1.5.0.4
	TIGRIS_0_9_0:1.5.0.2
	TIGRIS_0_8_4:1.2.0.2;
locks; strict;
comment	@# @;


1.20
date	2001.05.23.02.04.14;	author dlr;	state dead;
branches;
next	1.19;

1.19
date	2001.05.13.07.35.19;	author jrobbins;	state Exp;
branches;
next	1.18;

1.18
date	2001.05.02.09.54.03;	author jrobbins;	state Exp;
branches;
next	1.17;

1.17
date	2001.04.27.23.30.19;	author leonardr;	state Exp;
branches;
next	1.16;

1.16
date	2001.03.27.00.24.01;	author caitlyn;	state Exp;
branches
	1.16.6.1;
next	1.15;

1.15
date	2001.03.24.09.06.03;	author jrobbins;	state Exp;
branches;
next	1.14;

1.14
date	2001.03.24.05.58.54;	author jrobbins;	state Exp;
branches;
next	1.13;

1.13
date	2001.03.08.19.05.38;	author leonardr;	state Exp;
branches;
next	1.12;

1.12
date	2001.02.27.19.52.01;	author elicia;	state Exp;
branches;
next	1.11;

1.11
date	2001.02.27.01.21.07;	author elicia;	state Exp;
branches;
next	1.10;

1.10
date	2001.02.24.00.46.09;	author elicia;	state Exp;
branches;
next	1.9;

1.9
date	2001.02.23.23.37.43;	author elicia;	state Exp;
branches;
next	1.8;

1.8
date	2001.02.22.17.55.41;	author leonardr;	state Exp;
branches;
next	1.7;

1.7
date	2001.02.22.17.51.10;	author leonardr;	state Exp;
branches;
next	1.6;

1.6
date	2001.02.21.01.08.29;	author dlr;	state Exp;
branches;
next	1.5;

1.5
date	2000.12.18.19.15.55;	author leonardr;	state Exp;
branches
	1.5.6.1;
next	1.4;

1.4
date	2000.12.07.20.45.54;	author jrobbins;	state Exp;
branches;
next	1.3;

1.3
date	2000.12.06.18.57.53;	author leonardr;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.29.21.05.01;	author leonardr;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.29.20.39.05;	author leonardr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.02.21.00.36.53;	author dlr;	state Exp;
branches;
next	;

1.5.6.1
date	2001.01.31.02.05.50;	author leonardr;	state Exp;
branches;
next	1.5.6.2;

1.5.6.2
date	2001.02.12.17.20.30;	author leonardr;	state Exp;
branches;
next	1.5.6.3;

1.5.6.3
date	2001.02.14.00.34.11;	author leonardr;	state Exp;
branches;
next	1.5.6.4;

1.5.6.4
date	2001.02.14.23.26.46;	author leonardr;	state Exp;
branches;
next	;

1.16.6.1
date	2001.04.27.23.30.45;	author leonardr;	state Exp;
branches;
next	1.16.6.2;

1.16.6.2
date	2001.05.02.09.54.16;	author jrobbins;	state Exp;
branches;
next	;


desc
@@


1.20
log
@Removed WM templates in favor of Velocity templates.
@
text
@#parse "$BRAND_TEMPLATE_ROOT/Admin_Nav.wm"

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
 <TR>
  <TD CLASS="Header" nowrap><B>All Project Groups:</B>
   <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN>
  </TD>
 </TR>
</TABLE>


<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1" BORDER="0" width="100%">
 <TR>
  <TD class="SmallHeader" colspan="2">Project Groups:</TD>
  <TD class="PlainText" colspan="3" align="RIGHT">
  #if ($acl.hasPermission("ProjectGroup - Add", $currentDomain))
  {
    <A HREF="/servlets/ProjectGroupAdd">Add New Group</A>
  }
  </TD>
 </TR>

 <TR>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef" width="43%">Name</TD>
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Elements&nbsp;&nbsp;</TD>
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Summary</TD>
 </TR>

 #set $groups = $currentDomain.getProjectGroups($itemsPerPage, $filter, $acl)
 #set $thisPage = $groups.getPage($paginated_page)

 #if ($groups.isEmpty())
 {
  #if ($currentDomain.getProjectGroups($acl).isEmpty())
  {
   #set $noGroups=true
  }
  <TR> 
   <TD class="PlainText" VALIGN="top">
   #if ($noGroups)
   {
    There are not yet any project groups on this site.
   } #else {
    <span class="Warning">No matching project groups were found.</span>
   }
   </TD>
  </TR>
 } #else {
  #foreach $group in $thisPage
  {
   <TR> 
    <TD class="PlainText" VALIGN="top">
     #if ($acl.hasPermission("ProjectGroup - Edit", $currentDomain))
     {
      <A HREF="ProjectGroupEdit?projectGroupID=$group.getID()">$group.getName()</A>
     } #else {
        $group
      $group.getName()
     }
    </TD> 
      <td></td>
    <TD class="PlainText" VALIGN="top">$group.getNumberOfProjects($acl)</TD> 
      <td></td>
    <TD class="PlainText">$group.getShortDescription()</TD> 
   </TR>

   <TR>
    <TD COLSPAN="5">
    <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="5" ALIGN="center" CLASS="PlainText">
     $groups.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page);
    </TD>
   </TR>  
 }

 <TR>
  <TD COLSPAN="5"><hr size="1" noshade></TD>
 </TR>
</TABLE>

<br>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1" BORDER="0" width="100%">
 <TR>
  <TD class="SmallHeader" colspan="2">Project Categories:</TD>
  <TD class="PlainText" colspan="3" align="RIGHT">
  #if ($acl.hasPermission("ProjectGroup - Add", $currentDomain))
  {
    <A HREF="/servlets/ProjectGroupAdd">Add New Category</A>
  }
  </TD>
 </TR>
 <TR>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef" width="43%">Name</TD>
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Elements&nbsp;&nbsp;</TD>
  <TD WIDTH="10" bgcolor="#efefef"><SPACER TYPE="block" WIDTH="10"></TD>
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Summary</TD>
 </TR>

 #set $categories = $currentDomain.getCategories($itemsPerPage, $filter, $acl)
 #set $thisPage = $categories.getPage($paginated_page)

 #if ($categories.isEmpty())
 {
  #if ($currentDomain.getPCategories($acl).isEmpty())
  {
   #set $noCategories=true
  }
  <TR> 
   <TD class="PlainText" VALIGN="top">
   #if ($noCategories)
   {
    There are not yet any categories on this site.
   } #else {
    <span class="Warning">No matching categories were found.</span>
   }
   </TD>
  </TR>
 } #else {
  #foreach $category in $thisPage
  {
   <TR> 
    <TD class="PlainText" VALIGN="top">
     #if ($acl.hasPermission("ProjectGroup - Edit", $currentDomain))
     {
      <A HREF="ProjectGroupEdit?projectGroupID=$category.getID()">$category.getName()</A>
     } #else {
      $category.getName()
     }
    </TD> 
      <td></td>
    <TD class="PlainText" VALIGN="top">$category.getNumberOfProjects($acl)</TD> 
      <td></td>
    <TD class="PlainText">$category.getShortDescription()</TD> 
   </TR>

   <TR>
    <TD COLSPAN="5">
     <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">
     $categories.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page);
    </TD>
   </TR>
 }

 <TR>
  <TD COLSPAN="5"><hr size="1" noshade></TD>
 </TR>

 #if(!$noGroups || !noCategories)
 {
  <TR>
   <TD COLSPAN="5">
   <FORM METHOD="post" ACTION="ProjectGroupList">
    #parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/paginate/Filter.wm" 
   </FORM>
  </TR>
 }

</TABLE>

</FORM>
@


1.19
log
@added style, regularized arguments to navigationBar, removed an unneeded link
@
text
@@


1.18
log
@corrected nesting error that caused navigation to show up on each line
@
text
@d12 1
a12 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" width="100%">
d46 1
a46 1
    <font color="red">No matching project groups were found.</font>
d81 1
a81 1
     $groups.navigationBar("ProjectGroupList", $paginated_page);
d93 1
a93 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" BORDER="0" width="100%">
d126 1
a126 1
    <font color="red">No matching categories were found.</font>
d161 1
a161 1
     $categories.navigationBar("ProjectGroupList", $paginated_page);
@


1.17
log
@Corrected typo.
@
text
@d78 1
a78 1
 
d83 1
a83 2
   </TR>
  }
d157 1
a163 1
  }
@


1.16
log
@took out cellpadding=3 from bottom table.



PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d161 1
a161 1
     $category.navigationBar("ProjectGroupList", $paginated_page);
@


1.16.6.1
log
@Corrected typo.
@
text
@d161 1
a161 1
     $categories.navigationBar("ProjectGroupList", $paginated_page);
@


1.16.6.2
log
@corrected nesting error that caused navigation to show up on each line
@
text
@a77 1
  }
d84 1
d158 1
a158 1
  } 
d164 1
@


1.15
log
@added much needed admin nav element
@
text
@d90 1
a91 1
</TABLE>
d94 1
a94 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" width="100%">
@


1.14
log
@corrected a spacing error that made little gray divider lines show up really big
added informative headers
added link to new make new category
@
text
@d1 2
@


1.13
log
@Political correctness strikes Tigris.org! The components of project and user groups no longer wish to be called "members", as that causes them to be confused with users who have roles in projects. The new, approved term is "elements".
@
text
@d6 8
d16 1
a16 3
   <TD CLASS="PlainText">
    <A HREF="ProjectGroupAdd">Add New Group</A>
   </TD>
d18 1
a19 1
</TABLE>
a20 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" width="100%">
d22 2
a23 1
  <TD class="ProjectDownloadHeader" bgcolor="#efefef" width="43%">Group</TD>
d25 1
d61 1
d63 1
d68 6
a73 8
    <TD COLSPAN="3">
     <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" WIDTH="100%">
      <TR>
       <TD BGCOLOR="#efefef" HEIGHT="1">
        <SPACER TYPE="block" HEIGHT="1">
       </TD>
      </TR>
     </TABLE>
d78 1
a78 1
    <TD COLSPAN="3" ALIGN="center" CLASS="PlainText">
d86 1
a86 1
  <TD COLSPAN="3"><hr size="1" noshade></TD>
d90 1
d94 11
a104 1
  <TD class="ProjectDownloadHeader" bgcolor="#efefef" width="43%">Category</TD>
d106 1
d141 1
d143 1
d148 1
a148 1
    <TD COLSPAN="3">
d151 1
a151 3
       <TD BGCOLOR="#efefef" HEIGHT="1">
        <SPACER TYPE="block" HEIGHT="1">
       </TD>
d166 1
a166 1
  <TD COLSPAN="3"><hr size="1" noshade></TD>
d172 1
a172 1
   <TD COLSPAN="3">
@


1.12
log
@adjusted table cells
@
text
@d18 1
a18 1
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Members&nbsp;&nbsp;</TD>
d87 1
a87 1
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Members&nbsp;&nbsp;</TD>
@


1.11
log
@fixed table layout
@
text
@d17 1
a17 1
  <TD class="ProjectDownloadHeader" bgcolor="#efefef" width="33%">Group</TD>
d86 1
a86 1
  <TD class="ProjectDownloadHeader" bgcolor="#efefef" width="33%">Category</TD>
@


1.10
log
@now project groups and categories in separate lists
@
text
@d17 1
a17 1
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Group</TD>
d50 1
d60 1
a60 1
     <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
d82 1
d86 1
a86 1
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Category</TD>
@


1.9
log
@added type (group or category) column to list
@
text
@a17 1
  <TD class="ProjectDownloadHeader" bgcolor="#efefef">Type</TD>
a52 1
    <TD class="PlainText" VALIGN="top">$group.getType()</TD> 
d81 68
a148 1
 #if(!$noGroups)
@


1.8
log
@Cam informs me that the ugly thing with subtables is neccessary, so back in it goes.
@
text
@d18 1
d54 1
@


1.7
log
@Fixed up project and user group list.
@
text
@d58 9
a66 3
    <TD BGCOLOR="#efefef" COLSPAN="3" HEIGHT="1">
     <SPACER TYPE="block" HEIGHT="1">
    </TD>
d68 1
a68 1

@


1.6
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d1 13
a13 11
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD CLASS="Welcome">All Project Groups: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>
#if ($acl.hasPermission("ProjectGroup - Add", $currentDomain))
{
    <TD CLASS="PlainText">
      <A HREF="ProjectGroupAdd">Add New Group</a>
    </TD>
}
  </TR>
 </TABLE>
d16 8
a23 5
  <TR>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Group</TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Members&nbsp;&nbsp;</TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Summary</TD>
  </TR>
d25 1
a25 5
#set $paginatableList = $currentDomain.getProjectGroups($itemsPerPage, $filter, $acl);
#set $groupPage = $paginatableList.getPage($paginated_page);
#if (!$groupPage.isEmpty())
{
 #foreach $group in $groupPage
d27 4
d33 20
a52 6
    #if ($acl.hasPermission("ProjectGroup - Edit", $currentDomain))
    {
     <A HREF="ProjectGroupEdit?projectGroupID=$group.getID()">$group.getName()</A>
    } #else {
     $group.getName()
    }</TD> 
d55 7
a61 1
  </TR>
d63 6
a68 14
  <TR>
   <TD COLSPAN="6">
    <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="6" ALIGN="center" CLASS="PlainText">
    $paginatableList.navigationBar("ProjectList", $paginated_page);
   </TD>
  </TR>
d70 3
a72 5
} #else {
 <TR> 
  <TD class="PlainText" VALIGN="top">
   <font color="red">No matching projects were found.</font>
  </TD>
a73 1
}
d75 2
d78 4
a81 1
    <TD COLSPAN="4">&nbsp;</TD>
d83 1
a84 12


<TR>
  <TD COLSPAN="3"><hr size="1" noshade></TD>
</TR>
<TR>
  <TD COLSPAN="3">
  <FORM METHOD="post" ACTION="ProjectList">
  #parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/paginate/Filter.wm" 
  </FORM>
  </TD>
</TR>
@


1.5
log
@Project groups now have summary and description like regular projects.
@
text
@d4 1
a4 1
#if ($acl.hasPermissionForDomain("ProjectGroup - Add", $currentDomain.getID()))
d20 3
a22 1
#foreach $group in $currentDomain.getProjectGroups()
d24 13
a36 11
 <TR> 
  <TD class="PlainText" VALIGN="top">
   #if ($acl.hasPermissionForDomain("ProjectGroup - Edit", $currentDomain.getID()))
   {
    <A HREF="ProjectGroupEdit?projectGroupID=$group.getID()">$group.getName()</A>
   } #else {
    $group.getName()
   }</TD> 
   <TD class="PlainText" VALIGN="top">$group.getNumberOfProjects($acl)</TD> 
   <TD class="PlainText">$group.getShortDescription()</TD> 
 </TR> 
d39 12
a50 7
    <TD COLSPAN="6">
      <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
        <TR>
          <TD BGCOLOR="#efefef" HEIGHT="1"><SPACER TYPE="block" HEIGHT="1"></TD>
        </TR>
      </TABLE>
    </TD>
d52 2
a53 5

}

#if ($currentDomain.getProjectGroups().isEmpty()) 
{
d56 1
a56 1
    <I>There are no project groups defined.</I>
a58 1

d66 11
a76 1
##TODO: Put paging in here.
@


1.5.6.1
log
@Converted permission checking somewhat.
@
text
@d4 1
a4 1
#if ($acl.hasPermissionForDomain("ProjectGroup - Add", $currentDomain))
d24 1
a24 1
   #if ($acl.hasPermissionForDomain("ProjectGroup - Edit", $currentDomain))
@


1.5.6.2
log
@Got rid of calls to deprecated permission checking methods.
@
text
@d4 1
a4 1
#if ($acl.hasPermission("ProjectGroup - Add", $currentDomain))
d24 1
a24 1
   #if ($acl.hasPermission("ProjectGroup - Edit", $currentDomain))
@


1.5.6.3
log
@Adding support for project group manipulation servlets.
@
text
@d20 1
a20 3
#set $paginatableList = $currentDomain.getProjectGroups($itemsPerPage, $filter, $acl);
#set $projectPage = $paginatableList.getPage($paginated_page);
#if (!$projectPage.isEmpty())
d43 5
a47 6
<TR>
 <TD COLSPAN="6" ALIGN="center" CLASS="PlainText">
  $paginatableList.navigationBar("ProjectList", $paginated_page);
 </TD>
</TR>
} #else {
d50 1
a50 1
   <font color="red">No matching projects were found.</font>
d53 1
d61 1
a61 11

<TR>
  <TD COLSPAN="3"><hr size="1" noshade></TD>
</TR>
<TR>
  <TD COLSPAN="3">
  <FORM METHOD="post" ACTION="ProjectList">
  #parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/paginate/Filter.wm" 
  </FORM>
  </TD>
</TR>
@


1.5.6.4
log
@New templates for email messages.
@
text
@d21 2
a22 2
#set $groupPage = $paginatableList.getPage($paginated_page);
#if (!$groupPage.isEmpty())
d24 11
a34 13
 #foreach $group in $groupPage
 {
  <TR> 
   <TD class="PlainText" VALIGN="top">
    #if ($acl.hasPermission("ProjectGroup - Edit", $currentDomain))
    {
     <A HREF="ProjectGroupEdit?projectGroupID=$group.getID()">$group.getName()</A>
    } #else {
     $group.getName()
    }</TD> 
    <TD class="PlainText" VALIGN="top">$group.getNumberOfProjects($acl)</TD> 
    <TD class="PlainText">$group.getShortDescription()</TD> 
  </TR>
d37 7
a43 12
   <TD COLSPAN="6">
    <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="6" ALIGN="center" CLASS="PlainText">
    $paginatableList.navigationBar("ProjectList", $paginated_page);
   </TD>
d45 5
a49 1
 }
@


1.4
log
@style changes
@
text
@d17 1
a17 1
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Description</TD>
d31 1
a31 1
   <TD class="PlainText">$group.getDescription()</TD> 
@


1.3
log
@Brought project and usergroup templates into sync.
@
text
@d33 11
d45 16
@


1.2
log
@Bugfixes for project groups.
@
text
@d3 7
a9 1
    <TD CLASS="Welcome">List Project Groups: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>
a33 4

  <TR>
    <TD COLSPAN="4">&nbsp;</TD>
  </TR>
a34 6
#if ($acl.hasPermissionForDomain("ProjectGroup - Add", $currentDomain.getID()))
{
  <TR>
    <TD COLSPAN="4"><A HREF="ProjectGroupAdd">Add New Group</a></TD>
  </TR>      
}
@


1.1
log
@Added template for ProjectGroupList servlet.
@
text
@d24 1
a24 1
   <TD class="PlainText" VALIGN="top">$group.getNumberOfUsers($acl)</TD> 
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d3 1
a3 7
    <TD CLASS="Welcome">All Project Groups: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>
#if ($acl.hasPermission("ProjectGroup - Add", $currentDomain))
{
    <TD CLASS="PlainText">
      <A HREF="ProjectGroupAdd">Add New Group</a>
    </TD>
}
d11 1
a11 1
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Summary</TD>
d14 1
a14 3
#set $paginatableList = $currentDomain.getProjectGroups($itemsPerPage, $filter, $acl);
#set $groupPage = $paginatableList.getPage($paginated_page);
#if (!$groupPage.isEmpty())
a15 30
 #foreach $group in $groupPage
 {
  <TR> 
   <TD class="PlainText" VALIGN="top">
    #if ($acl.hasPermission("ProjectGroup - Edit", $currentDomain))
    {
     <A HREF="ProjectGroupEdit?projectGroupID=$group.getID()">$group.getName()</A>
    } #else {
     $group.getName()
    }</TD> 
    <TD class="PlainText" VALIGN="top">$group.getNumberOfProjects($acl)</TD> 
    <TD class="PlainText">$group.getShortDescription()</TD> 
  </TR>

  <TR>
   <TD COLSPAN="6">
    <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="6" ALIGN="center" CLASS="PlainText">
    $paginatableList.navigationBar("ProjectList", $paginated_page);
   </TD>
  </TR>
 }
} #else {
d18 9
a26 3
   <font color="red">No matching projects were found.</font>
  </TD>
 </TR>
d32 7
a38 13



<TR>
  <TD COLSPAN="3"><hr size="1" noshade></TD>
</TR>
<TR>
  <TD COLSPAN="3">
  <FORM METHOD="post" ACTION="ProjectList">
  #parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/paginate/Filter.wm" 
  </FORM>
  </TD>
</TR>
@


