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


1.3
date	2001.07.30.18.40.40;	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.3
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">
 #set ($displayPipe=false)
 #if($acl.hasPermission("Project - Invite", $currentProject))
  #set ($displayPipe=true)
  <a href="$currentProject.getProjectPageURL("ProjectInvite")">Invite 
   New Members</a>
 #end

 #if($displayPipe) | #end

 #if(!project.isCategory())
  #set ($displayPipe=true)
  #if($myRoles.isEmpty() && $myRequestedRoles.isEmpty())
   #set ($joinMessage="Join This $projectType")
  #else
   #set ($joinMessage="Request New Role")
  #end
  <a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">$joinMessage</a>
 #end 

 #if($acl.hasPermission("Role - Grant", $currentProject))
  #if ($displayPipe) | #end
  <a href="$currentProject.getProjectPageURL("ProjectMemberAdd")">Add New 
   Members</a> 
  #end
 #end
</div>

@


1.2
log
@Got rid of rows in no-longer-existant tables. These files should really be .vm files.
@
text
@d33 1
a33 1
 #if($acl.hasPermission("Project Role - Grant", $currentProject))
@


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
@d1 2
a2 3

#set( $myRoles = $loginUser.getRolesInProject($currentProject) )
#set( $myRequestedRoles = $loginUser.getRequestedRolesInProject($currentProject) )
d4 4
a7 4
#if( $currentProject.isCategory() )
  #set( $projectType = "Category" )
#elseif( $currentProject.isGroup() )
  #set( $projectType = "Group" )
d9 1
a9 1
  #set( $projectType = "Project" )
d12 28
a39 14
  <tr>
   <th>Tasks :&nbsp;&nbsp;</th>
   <td><div class="pipelinks">
   #if( $acl.hasPermission("Project - Invite", $currentProject) )
      <a href="$currentProject.getProjectPageURL("ProjectInvite")">Invite New Members</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 
   #if( $acl.hasPermission("Project Role - Grant", $currentProject) )
    | <a href="$currentProject.getProjectPageURL("ProjectMemberAdd")">Add New Member</a> 
   #end
a40 2
   </div></td>
  </tr>
@

