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


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

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

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

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

1.7
date	2001.08.03.04.44.22;	author tfahrner;	state Exp;
branches;
next	1.6;

1.6
date	2001.07.31.01.18.38;	author tfahrner;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.31.00.01.54;	author tfahrner;	state Exp;
branches;
next	1.4;

1.4
date	2001.07.30.21.59.21;	author tfahrner;	state Exp;
branches;
next	1.3;

1.3
date	2001.07.30.21.24.23;	author tfahrner;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.29.22.26.24;	author jefflove;	state Exp;
branches;
next	1.1;

1.1
date	2001.06.29.00.57.50;	author leonardr;	state Exp;
branches;
next	;


desc
@@


1.11
log
@added tabs
@
text
@<div id="categorylist" class="app">

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

 #set($categories = $currentDomain.getCategories($itemsPerPage, $filter, $acl))
 #set($thisPage = $categories.getPage($paginated_page))
  #if($categories.isEmpty())
   #set($noCategories = true)
  #end

 #if(!$categories.isEmpty())
 <table border="1" cellspacing="2" cellpadding="3" width="100%">
  <tr>
   <th>Name</th>
   <th>Projects</th>
   <th>Summary</th>
  </tr>
  #set ($rowClass="a")
  #foreach( $category in $thisPage )
   <tr class="$rowClass"> 
    <td>
      <a href="$category.getProjectHome()">$category.getName()</a>
    </td> 
    <td>$category.getNumberOfAssociations($acl)</td>
    <td>$category.getShortDescription()</td>
   </tr>

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

 <p><strong class="alert">
   #if( $noCategories )
    There are not yet any categories on this site.
   #else
    No matching categories were found.
   #end
   </strong></p>
 #end
#if( !$noGroups )
 <p class="paginate">
  ${categories.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page)}
 </p>
#end
 
#if( !$noGroups || !$noCategories )
  <form method="post" action="CategoryList">
    #parse( "org/tigris/helm/tool/paginate/Filter.vm" )
  </form>
#end
</div>
</div>
@


1.10
log
@removed redundant task links
@
text
@d3 9
d22 1
a22 1
   <th>Elements</th>
@


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

a1 7

 <h4>Project Categories</h4>
 #if($acl.hasPermission("ProjectGroup - Add", $currentDomain))
  <p class="affordance">
  <a href="/servlets/CategoryAdd">Add New Category</a>
  </p>
 #end
@


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


1.6
log
@included "task nav" below headlines
@
text
@d1 2
@


1.5
log
@pulled admin options, added headlines
@
text
@d5 4
@


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


1.3
log
@removed dependency on CSS for differentiation of alerts
@
text
@d2 1
a2 1
<div id="categorylist">
d17 1
a17 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.2
log
@made output valid; tweaked html usage
@
text
@d42 1
a42 1
 <p class="alert">
d48 1
a48 1
   </p>
@


1.1
log
@Implemented basic project group and category nesting.
@
text
@d2 1
a2 1
<div id="categories">
d62 1
a62 1
</div>@

