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


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

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


desc
@@


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

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

  #if ($rootSection)
    #set($rootSectionID = $rootSection.getID())
    #set($isApproved = $rootSection.isApproved())
  #else
    #set($rootSectionID = $0)
    #set($isApproved = true)
  #end

    #set($addFolderURL = $currentProject.getProjectPageURL("ProjectSectionAdd", "rootSectionID=$rootSectionID"))
    #set($addDocURL = $currentProject.getProjectPageURL("ProjectDocumentAdd", "rootSectionID=$rootSectionID"))
    #set( $editURL = $currentProject.getProjectPageURL("ProjectSectionEdit", "sectionID=$rootSectionID"))
    #set($deleteURL = $currentProject.getProjectPageURL("ProjectSectionDelete", "sectionID=$rootSectionID"))

    #if ( $acl.hasPermission("Project Document - Approve", $currentProject) && $isApproved )
       <a href="$addFolderURL">Add a Folder</a> | <a href="$addDocURL">Add a Document</a>
    #elseif ( $acl.hasPermission("Project Document - Suggest", $currentProject)  && $isApproved )
       <a href="$addFolderURL">Suggest a Folder</a> | <a href="$addDocURL">Suggest a Document</a>
    #end

  #if ($rootSection)
      #if ($rootSection.assertEditPermission($acl))
  | <a href="$editURL">Edit This Folder</a> 
      #end
      #if ($rootSection.assertDeletePermission($acl))
  | <a href="$deleteURL">Delete This Folder</a> 
      #end
  #end
   
   </div>
#end
@


1.1
log
@Task bar file for ProjectDocumentList
@
text
@d3 2
a4 3
  <tr>
   <th>Tasks : &nbsp;&nbsp;</th>
   <td><div class="pipelinks">
d34 1
a34 3
   </div></td>
  </tr>

@

