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


1.5
date	2001.07.30.18.40.40;	author leonardr;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.29.00.57.48;	author leonardr;	state Exp;
branches;
next	1.3;

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

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

1.1
date	2001.06.12.23.49.34;	author elicia;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Action cleanup. Some role actions, and Audit Log - View, had three actions apiece when one would do. We're now down to 76 actions.
@
text
@
#set( $myRoles = $loginUser.getRolesInProject($currentProject) )
#set( $myRequestedRoles = $loginUser.getRequestedRolesInProject($currentProject) )
         
#if( $currentProject.isCategory() )
  #set( $projectType = "Category" )
#elseif( $currentProject.isGroup() )
  #set( $projectType = "Group" )
#else
  #set( $projectType = "Project" )
#end

Tasks :&nbsp;&nbsp;
<div class="pipelinks">

#if($acl.hasPermission("Project - Edit", $currentProject))  
 #if($currentProject.isGroup())
  #set($editURL="/servlets/ProjectGroupEdit?projectGroupID=$currentProject.getID()")
 #elseif($currentProject.isCategory())
  #set($editURL="/servlets/CategoryEdit?projectGroupId=$currentProject.getID()")
 #else  
  #set($editURL=$currentProject.getProjectPageURL("ProjectEdit"))
 #end
 <a href="$editURL">Edit this $projectType</a>
#end

#if($currentProject.isCategory() || $currentProject.isGroup())
 #if($acl.hasPermission("Project - Associate Project", $currentProject))
  #if($currentProject.isGroup())
   | <a href="/servlets/ProjectGroupElementAdd?projectGroupID=$currentProject.getID()">Add Projects to Group</a> |
  #elseif($currentProject.isCategory())
   | <a href="/servlets/CategoryElementAdd?projectGroupID=$currentProject.getID()">Add Projects to Category</a>
  #end
 #end
#end

#if(!$currentProject.isCategory())
 #if($loginUser && !$loginUser.isAnonymous())
  #if($acl.hasPermission("Role - Request", $currentProject))
   #if($myRoles.isEmpty() && $myRequestedRoles.isEmpty())
    #set($requestText="Join This $projectType")
   #else
    #set($requestText="Request New Project Role")
   #end
   <a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">$requestText</a>
  #end 
 #else
  If you were <a href="$currentDomain.getDomainHomeServletURL("Join")">registered</a> 
  and <a href="$currentDomain.getDomainHomeServletURL("TLogin")">logged in</a>,
  you could join this project.
 #end
#end 

@


1.4
log
@Implemented basic project group and category nesting.
@
text
@d39 1
a39 1
  #if($acl.hasPermission("Project Role - Request", $currentProject))
@


1.3
log
@Oops, bad URL.
@
text
@d20 1
a20 1
  #set($editURL="/servlets/ProjectGroupEdit?projectGroupId=$currentProject.getID()")
d32 1
a32 1
   | <a href="/servlets/ProjectGroupElementAdd?projectGroupID=$currentProject.getID()">Add Projects to Category</a>
@


1.2
log
@Got rid of rows in no-longer-existant tables. These files should really be .vm files.
@
text
@d20 1
a20 1
  #set($editURL="/servlets/ProjectGroupEditEdit?projectGroupID=$currentProject.getID()")
@


1.1
log
@these [$servletName]Tasks files work the same way the servlet help does--providing a servlet-specific taskbar for the Project_Nav.
@
text
@d13 2
a14 3
  <tr>
   <th>Tasks :&nbsp;&nbsp;</th>
   <td><div class="pipelinks">
d16 37
a52 8
     #if ($currentProject.assertEditPermission($acl))
      <a href="$currentProject.getProjectPageURL("ProjectEdit")">Edit This Project</a> 
     #end
      #if( $myRoles.isEmpty() && $myRequestedRoles.isEmpty() )
         | <a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Join This $projectType</a>
      #else
         | <a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Request New Project Role</a>
      #end 
a53 2
   </div></td>
  </tr>
@

