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


1.18
date	2001.08.30.00.16.50;	author susank;	state Exp;
branches;
next	1.17;

1.17
date	2001.08.30.00.05.39;	author susank;	state Exp;
branches;
next	1.16;

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

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

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

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

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

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

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

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

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

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

1.6
date	2001.06.08.21.27.21;	author beril;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.08.04.25.09;	author jefflove;	state Exp;
branches;
next	1.4;

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

1.3
date	2001.05.24.23.57.49;	author dlr;	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.18
log
@added comma separation code; removed note to Todd
Issue number:
Obtained from:
Submitted by:
Reviewed by:
@
text
@<div id="projectlist" class="app">

<div class="tabs">
	<table cellpadding="3" cellspacing="0" border="0">
	<tr>
	<th title="view project list">Project list</th>
	<td title="view category list"><a href="/servlets/CategoryList">Category list</a></td>
	</tr>
	</table>
</div>

#set( $paginatableList = $currentDomain.getProjects($itemsPerPage, $filter, $acl) )
#set( $projectPage = $paginatableList.getPage($paginated_page) )
#if( !$projectPage.isEmpty() )
 <table border="1" cellspacing="2" cellpadding="3" width="100%">
  <tr>
   <th>Name</th>
   <th>Summary</th>
   <th>Categories</th>
  </tr>
  #set ($rowClass="a")
  #foreach( $project in $projectPage )
  <tr class="$rowClass">
   <td nowrap="nowrap"><a href="$project.getProjectHome()">$project.getName()</a></td>
   <td>$project.getShortDescription()</td>
   <td>
   #set ($categories=$project.getCategories())
   #if (!$categories.isEmpty())
    #set ($commaHolder="")
    #foreach ($category in $categories)
     $commaHolder $category.getName()
     #set ($commaHolder=",")
    #end
   #else
    none
   #end
   </td>
  </tr>
  
  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end

  #end
 </table>  
#else
<p><strong class="alert">No matching projects were found.</strong>
</p>
 #end

#if( !$projectPage.isEmpty() )
 <p class="paginate">
  ${paginatableList.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}
 </p>
  <form method="post" action="ProjectList">
   #parse( "org/tigris/helm/tool/paginate/Filter.vm" )
  </form>
#end
</div>
@


1.17
log
@added get categories for each project code for Todd
Issue number:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d29 1
d31 2
a32 2
##todd, change the line below for category name display
     $category.getName()
@


1.16
log
@tabs! we got tabs! susank to populate 3rd col
@
text
@d26 11
a36 1
   <td>##snusan!</td>
@


1.15
log
@removed redundant task links
@
text
@d3 8
a10 1
 <h3>All Projects: $currentDomain.getName()</h3>
d17 1
a17 1
   <th>Project</th>
d19 1
d26 1
@


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

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


1.13
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.12
log
@restoring admin options nav, fixing html in ProjectAdd
@
text
@a6 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


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


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


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


1.8
log
@removed dependency on CSS for differentiation of alerts
@
text
@d3 1
a3 1
<div id="projectlist">
d14 1
a14 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.7
log
@Changed links to ProjectAdd.
@
text
@d35 2
a36 1
<p class="alert">No matching projects were found.</p>
a42 1

d47 1
a47 1
</div>@


1.6
log
@recoded the html according to new css/html standards
@
text
@d7 1
a7 1
  <a href="ProjectAddStep1">Add New Project</a>
@


1.5
log
@general xhtml cleanup
@
text
@d39 1
a39 1
 <p>
@


1.4
log
@recoded the servlet pages according to the new css/html standards
@
text
@d4 3
a6 3
 <h4>All Projects : $currentDomain.getName()</h4>
 <p class="affordance">
#if( $acl.hasPermission("Project - Suggest", $currentDomain) )
d8 1
a9 1
 </p>
a10 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
d14 1
d33 1
a33 1
  
d35 3
a37 7
  <tr>
   <td colspan="2">
<p class="warning">No matching projects were found.</p>
   </td>
  </tr>
#end
 </table>
d42 1
a42 1
 <p>
a45 1
  </p>
@


1.3
log
@Corrected VTL syntax error(s).
@
text
@d3 7
a9 10
<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>
     #end
    </TD>
  </TR>
</TABLE>
d11 1
a11 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
d15 16
a30 4
<TR>
  <TD WIDTH="118" CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Project</B></TD>
  <TD CLASS="ProjectDownloadHeader" BGCOLOR="#efefef"><B>Summary</B></TD>
</TR>
a31 14
  #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>
d33 11
a43 2
<TR>
 <TD COLSPAN="3" ALIGN="center" CLASS="PlainText">
d45 6
a50 4
 </TD>
</TR>
#else
<span class="Warning">No matching projects were found.</span>
d52 1
a52 13

<TR>
  <TD COLSPAN="3"><hr size="1" noshade></TD>
</TR>
<TR>
  <TD COLSPAN="3">
  <FORM METHOD="post" ACTION="ProjectList">
  #parse( "org/tigris/helm/tool/paginate/Filter.vm" )
  </FORM>
  </TD>
</TR>
</TABLE>

@


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
@d15 1
a15 1
#set( $paginatableList = ${currentDomain.getProjects($itemsPerPage, )$filter, $acl)}
@


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

