head	1.31;
access;
symbols
	TIGRIS_1_1_0RC2:1.29
	TIGRIS_1_1_0RC1:1.29
	TIGRIS_1_1:1.29.0.4
	TIGRIS_1_0_8:1.29
	TIGRIS_1_0_8RC3:1.29
	TIGRIS_1_0_8RC2:1.29
	TIGRIS_1_0_8RC1:1.29
	TIGRIS_1_0_7:1.29
	TIGRIS_1_0_7RC3:1.29
	TIGRIS_1_0_7RC2:1.29
	TIGRIS_1_0_7RC1:1.29
	TIGRIS_1_0_6:1.29
	TIGRIS_1_0_6RC5:1.29
	TIGRIS_1_0_6RC4:1.29
	TIGRIS_1_0_6RC3:1.29
	TIGRIS_1_0_6RC2:1.29
	TIGRIS_1_0_6RC1:1.29
	TIGRIS_1_0_5:1.29
	TIGRIS_1_0_5RC6:1.29
	TIGRIS_1_0_5RC5:1.29
	TIGRIS_1_0_5RC4:1.29
	TIGRIS_1_0_5RC3:1.29
	TIGRIS_1_0_5RC2:1.29
	TIGRIS_1_0_5RC1:1.29
	TIGRIS_1_0_4:1.29
	TIGRIS_1_0_3:1.29
	TIGRIS_1_0_2:1.29
	TIGRIS_1_0_1:1.29
	TIGRIS_1_0:1.29.0.6
	TIGRIS_1_0_0:1.29
	TIGRIS_1_0_0_RC1:1.29.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.27
	TIGRIS_0_9_2_3:1.27
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.27
	TIGRIS_0_9_2_1:1.27
	TIGRIS_0_9_2:1.27.0.2
	TIGRIS_0_9_0:1.26.0.2
	TIGRIS_0_8_4:1.18.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.31
date	2001.05.23.02.04.14;	author dlr;	state dead;
branches;
next	1.30;

1.30
date	2001.05.13.07.35.19;	author jrobbins;	state Exp;
branches;
next	1.29;

1.29
date	2001.03.24.09.06.03;	author jrobbins;	state Exp;
branches;
next	1.28;

1.28
date	2001.02.21.01.08.29;	author dlr;	state Exp;
branches;
next	1.27;

1.27
date	2000.12.29.17.11.54;	author leonardr;	state Exp;
branches
	1.27.4.1;
next	1.26;

1.26
date	2000.12.21.00.59.15;	author jrobbins;	state Exp;
branches;
next	1.25;

1.25
date	2000.12.20.23.30.54;	author kmaples;	state Exp;
branches;
next	1.24;

1.24
date	2000.12.20.18.39.56;	author leonardr;	state Exp;
branches;
next	1.23;

1.23
date	2000.12.18.20.07.29;	author leonardr;	state Exp;
branches;
next	1.22;

1.22
date	2000.12.18.19.52.08;	author leonardr;	state Exp;
branches;
next	1.21;

1.21
date	2000.12.18.19.39.56;	author leonardr;	state Exp;
branches;
next	1.20;

1.20
date	2000.12.17.19.28.08;	author jrobbins;	state Exp;
branches;
next	1.19;

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

1.18
date	2000.12.03.06.12.55;	author jrobbins;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	2000.12.02.04.42.39;	author elicia;	state Exp;
branches;
next	1.16;

1.16
date	2000.12.02.04.41.38;	author elicia;	state Exp;
branches;
next	1.15;

1.15
date	2000.12.02.04.31.16;	author elicia;	state Exp;
branches;
next	1.14;

1.14
date	2000.11.29.20.19.57;	author cameron;	state Exp;
branches;
next	1.13;

1.13
date	2000.11.29.04.01.53;	author cameron;	state Exp;
branches;
next	1.12;

1.12
date	2000.11.27.22.07.34;	author leonardr;	state Exp;
branches;
next	1.11;

1.11
date	2000.11.27.21.30.27;	author leonardr;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.27.19.16.53;	author susank;	state Exp;
branches;
next	1.9;

1.9
date	2000.11.27.18.17.46;	author leonardr;	state Exp;
branches;
next	1.8;

1.8
date	2000.11.23.10.07.06;	author dlr;	state Exp;
branches;
next	1.7;

1.7
date	2000.11.23.10.02.20;	author dlr;	state Exp;
branches;
next	1.6;

1.6
date	2000.11.15.23.08.26;	author leonardr;	state Exp;
branches;
next	1.5;

1.5
date	2000.11.15.20.38.48;	author susank;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.15.19.21.34;	author dlr;	state Exp;
branches;
next	1.3;

1.3
date	2000.11.14.03.44.01;	author jrobbins;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.13.21.58.50;	author susank;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.12.21.18.07;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.18.07;	author dlr;	state Exp;
branches;
next	1.1.1.2;

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

1.18.2.1
date	2000.12.09.07.00.55;	author jrobbins;	state Exp;
branches;
next	;

1.27.4.1
date	2001.01.31.02.05.50;	author leonardr;	state Exp;
branches;
next	1.27.4.2;

1.27.4.2
date	2001.02.08.00.36.06;	author elicia;	state Exp;
branches;
next	1.27.4.3;

1.27.4.3
date	2001.02.12.17.20.30;	author leonardr;	state Exp;
branches;
next	;


desc
@@


1.31
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 Projects</B>: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>
    <TD CLASS="PlainText">
     #if ($acl.hasPermission("Project - Suggest", $currentDomain))
     {
      <A HREF="ProjectAddStep1">Add New Project</A>
     }
    </TD>
  </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
#set $paginatableList = $currentDomain.getProjects($itemsPerPage, $filter, $acl);
#set $projectPage = $paginatableList.getPage($paginated_page);
#if (!$projectPage.isEmpty())
{
<TR>
  <TD WIDTH="118" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Project</B></TD>
  <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Summary</B></TD>
</TR>

  #foreach $project in $projectPage
  {
<TR>
  <TD NOWRAP WIDTH="118" CLASS="PlainText"><A HREF="$project.getProjectHome()">$project.getName()</A></TD>
  <TD NOWRAP CLASS="PlainText">$project.getShortDescription()</TD>
</TR>
<TR>
  <TD COLSPAN="2">
    <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">
  $paginatableList.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page);
 </TD>
</TR>
} #else {
<span class="Warning">No matching projects were found.</span>
}

<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>
</TABLE>

@


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


1.29
log
@added much needed admin nav element
@
text
@d43 1
a43 1
  $paginatableList.navigationBar("ProjectList", $paginated_page);
d47 1
a47 1
<font color="red">No matching projects were found.</font>
@


1.28
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d1 2
@


1.27
log
@Many, many pagination changes.
@
text
@d5 1
a5 1
     #if ($acl.hasPermissionForDomain("Project - Suggest", $currentDomain.getID()))
d14 1
a14 1
#set $paginatableList = $currentDomain.getProjects($itemsPerPage, $criterion, $acl);
@


1.27.4.1
log
@Converted permission checking somewhat.
@
text
@d5 1
a5 1
     #if ($acl.hasPermissionForDomain("Project - Suggest", $currentDomain))
@


1.27.4.2
log
@Ported ProjectList servlet.
@
text
@d14 1
a14 1
#set $paginatableList = $currentDomain.getProjects($itemsPerPage, $filter, $acl);
@


1.27.4.3
log
@Got rid of calls to deprecated permission checking methods.
@
text
@d5 1
a5 1
     #if ($acl.hasPermission("Project - Suggest", $currentDomain))
@


1.26
log
@applied style
@
text
@d39 5
a43 3
<TR><TD COLSPAN="3" ALIGN="center" CLASS="PlainText">
$paginatableList.navigationBar("ProjectList", $paginated_page);
</TD></TR>
@


1.25
log
@Changed 'page' to 'paginated_page' to avoid name clash with noodle.
@
text
@d39 1
a39 1
<TR><TD COLSPAN="3" ALIGN="center">
@


1.24
log
@First tenative steps towards the new pagination/filtering regime.
@
text
@d15 1
a15 1
#set $projectPage = $paginatableList.getPage($page);
d40 1
a40 1
$paginatableList.navigationBar("ProjectList", $page);
@


1.23
log
@Pagination changes.
@
text
@d14 3
a16 2
#set $projects = $currentDomain.getPaginatedProjects($acl, $context)
#if ($projects)
d23 1
a23 1
  #foreach $project in $projects
d39 3
a46 6
<TD COLSPAN="3" ALIGN="center">
#set $paginationURL="ProjectList?"
#parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/PaginationBar.wm" 
<TD>
</TR>
<TR>
d52 1
a52 1
  #parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/ProjectSelection.wm" 
@


1.22
log
@Provide a link for the pagination.
@
text
@d25 2
a26 2
  <TD WIDTH="118" CLASS="PlainText"><A HREF="$project.getProjectHome()">$project.getName()</A></TD>
  <TD CLASS="PlainText">$project.getShortDescription()</TD>
d42 2
d46 2
a47 1

@


1.21
log
@Parse the pagination bar in the project list.
@
text
@d42 1
@


1.20
log
@changed label to match label used on other pages for ShortDescription
@
text
@d42 2
@


1.19
log
@added guard to start project
@
text
@d19 1
a19 1
  <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Description</B></TD>
@


1.18
log
@added divider lines and applied styles and corrected spacing
@
text
@d5 2
d8 1
@


1.18.2.1
log
@moved changes from HEAD
@
text
@a4 2
     #if ($acl.hasPermissionForDomain("Project - Suggest", $currentDomain.getID()))
     {
a5 1
     }
@


1.17
log
@making only one call to the method that gets project--replaced with a variable
@
text
@d4 3
a6 3
    <TD CLASS="StatText">
      <FORM METHOD="post" ACTION="/servlets/ProjectAddStep1">
    <A HREF="ProjectAddStep1">Add New Project</A></TD>
a9 1
</FORM>
@


1.16
log
@putting red message "No matching projects found" if no projects
@
text
@d12 2
a13 1
#if ($currentDomain.getPaginatedProjects($acl, $context))
d20 1
a20 1
  #foreach $project in $currentDomain.getPaginatedProjects($acl, $context)
@


1.15
log
@moved Add New Project over to the right to be more consistant with other add links elsewhere
@
text
@d12 2
d19 2
a20 2
#foreach $project in $currentDomain.getPaginatedProjects($acl, $context)
{
d34 3
@


1.14
log
@changed hr to match the rest of the site. `
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d3 4
a6 1
    <TD COLSPAN="2" CLASS="Header" nowrap><B>All Projects</B>: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>
d10 1
a32 6
<FORM METHOD="post" ACTION="/servlets/ProjectAddStep1">
<TR>
  <TD>&nbsp;</TD>
  <TD CLASS="StatText"><A HREF="ProjectAddStep1">Add New Project</A></TD>
</TR>
</FORM>
@


1.13
log
@added one-pixel rows between projects in listing.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d37 1
a37 1
  <TD COLSPAN="3"><HR NOSHADE WIDTH="100%"></TD>
@


1.12
log
@Finished project pagination for ProjectList
@
text
@d8 4
a11 4
  <TR>
    <TD WIDTH="118" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Project</B></TD>
    <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Description</B></TD>
  </TR>
d15 13
a27 4
  <TR>
    <TD WIDTH="118" CLASS="PlainText"><A HREF="$project.getProjectHome()">$project.getName()</A></TD>
    <TD CLASS="PlainText">$project.getShortDescription()</TD>
    </TR>
d29 14
a42 7
  <FORM METHOD="post" ACTION="/servlets/ProjectAddStep1">
  <TR>
    <TD>&nbsp;</TD>
    <TD>
      <A HREF="ProjectAddStep1">Add New Project</A>
    </TD>
  </TR>
d44 2
a45 9

  <TR>
    <TD COLSPAN="3"><HR NOSHADE WIDTH="100%"></TD>
  </TR>
  <TR><TD COLSPAN="3">
   <FORM METHOD="post" ACTION="ProjectList">
    #parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/ProjectSelection.wm" 
   </FORM>
  </TD></TR>
@


1.11
log
@Started work on paginating ProjectList.
@
text
@a19 3
  <TR>
    <TD COLSPAN="3"><HR NOSHADE WIDTH="100%"></TD>
  </TR>
d24 1
a24 1
      <INPUT TYPE="submit" NAME="Button" VALUE="Add New Project">
d29 4
d36 1
a38 1
## TODO: paganation
@


1.10
log
@added domain name to page header
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d12 2
a13 1
#foreach $project in $projectList
d31 4
@


1.9
log
@More Paginator changes.
@
text
@d3 1
a3 1
    <TD COLSPAN="2" CLASS="Header" nowrap><B>All Projects</B></TD>
@


1.8
log
@Removed redundant FORM tags and corrected the TD holding the button.
@
text
@d12 1
a12 1
#foreach $project in $currentDomain.getProjects($acl)
@


1.7
log
@- Do not use a CLASS attribute that shows "Add New Project" in red.
- Ridded myself of useless and incorrect form name.
- Corrected ACTION after ProjectAdd servlet rename to ProjectAddStep1.
@
text
@d22 1
a22 1
  <FORM METHOD="post" ACTION="/servlets/ProjectAdd">
d25 1
a25 2
    <TD WIDTH="118" COLSPAN="2">
      <FORM METHOD="post" ACTION="/servlets/ProjectAddStep1">
a26 1
      </FORM>
@


1.6
log
@Took out incorrect attempt at numbering list elements.
@
text
@d25 2
a26 2
    <TD WIDTH="118" COLSPAN="2" CLASS="Welcome">
      <FORM NAME="ProjectMemberAddForm" ACTION="/servlets/ProjectAdd" METHOD="post">
@


1.5
log
@UI consistency changes round 3... changed start new link to button, added numbering to projects
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@a8 1
    <TD>&nbsp;</TD>
a11 1
#set $count = 0
a13 1
  #set $count = $count + 1
a14 1
    <TD CLASS="PlainText">$count.</TD>
@


1.4
log
@"Buttons on the bottom, hyperlinks at the top." --Cam's postulate
@
text
@a6 1

d9 1
d13 1
d16 1
d18 1
d24 1
a24 2
    <TD WIDTH="118">&nbsp;</TD>
    <TD CLASS="Welcome">&nbsp;</TD>
d28 6
a33 1
    <TD WIDTH="118" COLSPAN="2"><INPUT TYPE="submit" VALUE="Start New Project"></TD>
@


1.3
log
@made "start new project" not get word-wrapped in a narrow little column
@
text
@d24 1
d26 1
a26 1
    <TD WIDTH="118" COLSPAN="2" CLASS="Welcome"><A HREF="/servlets/ProjectAdd">Start New Project</A></TD>
d28 1
@


1.2
log
@moved startnew link to the left
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d25 1
a25 2
    <TD WIDTH="118" CLASS="Welcome"><A HREF="/servlets/ProjectAdd">Start New Project</A></TD>
    <TD CLASS="Welcome">&nbsp;</TD>
d29 1
a29 1
## paganation
@


1.1
log
@Initial revision
@
text
@d2 3
a4 3
	<TR>
		<TD COLSPAN="2" CLASS="Header" nowrap><B>All Projects</B></TD>
	</TR>
d9 4
a12 4
	<TR>
		<TD WIDTH="118" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Project</B></TD>
		<TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Description</B></TD>
	</TR>
d15 3
a17 3
	<TR>
		<TD WIDTH="118" CLASS="PlainText"><A HREF="$project.getProjectHome()">$project.getName()</A></TD>
		<TD CLASS="PlainText">$project.getShortDescription()</TD>
d20 8
a27 8
	<TR>
		<TD WIDTH="118">&nbsp;</TD>
		<TD CLASS="Welcome">&nbsp;</TD>
	</TR>
	<TR>
		<TD WIDTH="118">&nbsp;</TD>
		<TD CLASS="Welcome"><A HREF="/servlets/ProjectAdd">Start New Project</A></TD>
	</TR>
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d2 3
a4 9
  <TR>
    <TD  CLASS="Header" nowrap><B>All Projects</B>: <SPAN CLASS="ProjectNameHeader">$currentDomain.getName()</SPAN></TD>
    <TD CLASS="PlainText">
     #if ($acl.hasPermission("Project - Suggest", $currentDomain))
     {
      <A HREF="ProjectAddStep1">Add New Project</A>
     }
    </TD>
  </TR>
d7 1
d9 5
a13 3
#set $paginatableList = $currentDomain.getProjects($itemsPerPage, $filter, $acl);
#set $projectPage = $paginatableList.getPage($paginated_page);
#if (!$projectPage.isEmpty())
d15 4
a18 28
<TR>
  <TD WIDTH="118" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Project</B></TD>
  <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Summary</B></TD>
</TR>

  #foreach $project in $projectPage
  {
<TR>
  <TD NOWRAP WIDTH="118" CLASS="PlainText"><A HREF="$project.getProjectHome()">$project.getName()</A></TD>
  <TD NOWRAP CLASS="PlainText">$project.getShortDescription()</TD>
</TR>
<TR>
  <TD COLSPAN="2">
    <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">
  $paginatableList.navigationBar("ProjectList", $paginated_page);
 </TD>
</TR>
} #else {
<font color="red">No matching projects were found.</font>
d20 8
a27 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>
d30 1
@

