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


1.4
date	2001.08.21.22.13.38;	author tfahrner;	state dead;
branches;
next	1.3;

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

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

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


desc
@@


1.4
log
@moving task nav to separate dir
@
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

#if( $currentProject.isGroup() )
<p class="affordance">    
#if( $acl.hasPermission("ProjectGroup - Edit", $currentProject) )
<a href="ProjectGroupEdit?projectGroupID=$currentProject.getID()">Edit
                    this $projectType</a>
    #end
#else
    #if( $acl.hasPermission("Project - Edit", $currentProject) )
<a href="$currentProject.getProjectPageURL("ProjectEdit")">Edit
                    this $projectType</a>
    #end
    </p>
#end

#if( !$currentProject.isCategory() )
    #if( $acl.hasPermission("Project - Edit", $currentProject) )
                |
    #end

    #if( $loginUser && !$loginUser.isAnonymous() )
            #if( $acl.hasPermission("Role - Request", $currentProject) )
<p class="affordance">                    
#if( $myRoles.isEmpty() && $myRequestedRoles.isEmpty() )
<a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Join This $projectType</a>
                    #else
<div><a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Request New Project Role</a>
                    #end
                 </p>
            #end
    #else
      <p>If you <a href="/servlets/Join">register</a> or <a href="/servlets/TLogin/">log in</a>, you could join this project.</p>
    #end
#end
@


1.3
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@@


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

a11 5
  <tr>
   <th>Tasks :&nbsp;&nbsp;</th>
   <td><div class="pipelinks">


d13 3
a15 2
    #if( $acl.hasPermission("ProjectGroup - Edit", $currentProject) )
                <a href="ProjectGroupEdit?projectGroupID=$currentProject.getID()">Edit
d20 1
a20 1
                <a href="$currentProject.getProjectPageURL("ProjectEdit")">Edit
d23 1
d33 3
a35 2
                    #if( $myRoles.isEmpty() && $myRequestedRoles.isEmpty() )
                                    <a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Join This $projectType</a>
d37 1
a37 1
                                    <a href="$currentProject.getProjectPageURL("ProjectMembershipRequest")">Request New Project Role</a>
d39 1
d42 1
a42 1
                    If you <a href="/servlets/Join">register</a> or <a href="/servlets/TLogin/">log in</a>, you could join this project.
a44 4


   </div></td>
  </tr>
@


1.1
log
@moved Tasks files from the docs folder to here. Added task file for Documentview. tweaked some of the logic to correspond with the template,which have diverged since these files were created.
@
text
@d36 1
a36 1
            #if( $acl.hasPermission("Project Role - Request", $currentProject) )
@

