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


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.9
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@
<div id="categoryelementadd" class="app">

 <h3>Add Projects: $currentCategory.getName()</h3>

#set($projects = $currentCategory.getAssociableProjects($itemsPerPage, $filter, $acl))
#set( $thisPage = $projects.getPage($paginated_page) )
#if( $thisPage.isEmpty() )
<p><strong class="alert">
#if( $projects.isEmpty() )
  All available projects are already in this category.
 #else
  No matching projects found.
 #end
</strong></p>
#else
<form action="CategoryElementAdd" method="post" enctype="application/x-www-form-urlencoded">
 <input type="hidden" name="categoryID" value="$currentCategory.getID()" />
 <table border="1" cellspacing="2" cellpadding="3" width="100%">
  <tr>
   <th nowrap="nowrap">Add</th>
   <th nowrap="nowrap">Project</th>
   <th nowrap="nowrap">Summary</th>
  </tr>
#set ($rowClass="a")
 #foreach( $project in $thisPage )
  <tr class="$rowClass">
   <td><input type="checkbox" name="Add $project.getID()" /></td>
   <td>
    #if( $acl.hasPermission("Project - Edit", $currentDomain) )
     <a href="$project.getProjectPageURL("ProjectEdit")">$project.getName()</a>
    #else
     $project.getName()
    #end
   </td>
   <td>$project.getShortDescription()</td>
  </tr>
  
  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end

 #end
 </table>
 <p><input type="submit" name="Button" value="Add to Category" /></p>
 <p class="paginate">
  $projects.navigationBar($currentProject.getProjectPageURL($servletName, "categoryID=$currentCategory.getID()"), $paginated_page)
 </p>
  <form method="post" action="CategoryElementAdd">
  #parse("org/tigris/helm/tool/paginate/Filter.vm")
  </form>
#end
</form>

</div>
@


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 1
@


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


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


1.3
log
@removed dependency on CSS for differentiation of alerts
@
text
@d3 1
a3 1
<div id="categoryelementadd">
d19 1
a19 1
 <table border="0" cellspacing="0" cellpadding="2" width="100%">
@


1.2
log
@made output valid; tweaked html usage
@
text
@d9 1
a9 1
<p class="alert">
d15 1
a15 1
</p>
@


1.1
log
@Implemented basic project group and category nesting.
@
text
@d9 3
a11 2
 #if( $projects.isEmpty() )
  <p class="alert">All avaliable projects are already in this category.</p>
d13 1
a13 1
  <p class="alert">No matching projects found.</p>
d15 1
d57 1
a57 1
</div>@

