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


1.13
date	2001.07.19.19.09.50;	author elicia;	state dead;
branches;
next	1.12;

1.12
date	2001.07.13.16.52.50;	author leonardr;	state Exp;
branches;
next	1.11;

1.11
date	2001.06.28.03.51.41;	author elicia;	state Exp;
branches;
next	1.10;

1.10
date	2001.06.20.16.35.58;	author beril;	state Exp;
branches;
next	1.9;

1.9
date	2001.06.07.03.18.14;	author dlr;	state Exp;
branches;
next	1.8;

1.8
date	2001.06.06.00.13.36;	author elicia;	state Exp;
branches;
next	1.7;

1.7
date	2001.06.05.01.50.27;	author elicia;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.01.00.12.41;	author elicia;	state Exp;
branches;
next	1.5;

1.5
date	2001.05.31.21.50.05;	author elicia;	state Exp;
branches;
next	1.4;

1.4
date	2001.05.31.19.15.42;	author elicia;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.25.02.14.46;	author ms;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.25.01.49.13;	author ms;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.23.02.03.13;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.13
log
@removing document-related templates, since they are being extracted out into the nidaba component.
@
text
@## SET VARIABLES : $canEdit, $canApprove, $indentChar, 
##                 $topSections, $documents

#if( $acl.assertDeletePermission($acl))
  #set( $canDelete = true )
#end
#if( $acl.hasPermissionForProject("Project Document - Approve", $currentProject) )
  #set( $canApprove = true )
#end

## FIXME: Determining $rootSectionID and $documents belongs in the servlet.
#if( $rootSection )
    #set( $rootSectionID = $rootSection.getSectionID() )
    #set( $indentChar = "&nbsp;&nbsp;" )
    #set( $documents = $rootSection.getDocuments($acl) )
#else
    #set( $rootSectionID = "0" )
    #set( $indentChar = "" )
    #set( $documents = $currentProject.getTopLevelDocuments() )
#end
#set( $topSections = $currentProject.getSections($rootSectionID) )
############################
## PAGE HEADER

<div id="projectdocumentlist">
 <h3>Project Documents: <a href="$currentProject.getProjectHome()">$currentProject.getName()</a></h3>
 <p class="affordance">Add Project</p>

#if( $topSections.isEmpty() && !$rootSection && $documents.isEmpty() )
 <p class="alert">There are no document folders and documents for this project.</p>
#else

## BREAD CRUMBS
#set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", "rootSectionID=0") )
<a href="$jumpURL">Top</a>
#if ($rootSection)
  #foreach( $sec in $rootSection.getParentSections() )
      #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", "rootSectionID=$sec.getID()") )
      : <a href="$jumpURL">$sec.getName()</a> 
  #end 
 <b>: $rootSection.getName()</b>
#end

## TABLE HEADER
<table border="0" cellspacing="0" cellpadding="0" width="100%" >
 <tr>
  <th nowrap="nowrap">Folder</th>
  <th nowrap="nowrap">Documents</th>
 </tr>
 <tr>
## LEFT PANE: FOLDERS
  <td>      
    #if( $rootSection )
     #if ($rootSection.isApproved())
      <p><img src="/branding/images/openfolder.gif">&nbsp;<b>$rootSection.getName()</b></p> 
     #elseif ($canApprove)
      <p><a href="$currentProject.getProjectPageURL("ProjectSectionApproval")">Pending</a>:&nbsp;<img src="/branding/images/openfolder.gif">&nbsp;<p>$rootSection.getName()</b></p> 
     #else
      <p>Pending:&nbsp;<img src="/branding/images/openfolder.gif">&nbsp;<b>$rootSection.getName()</b></p>
     #end
    #end
    #if( $topSections.isEmpty() && !$rootSection )
     <p class="alert">There are no document folders for this project.
      #if( $loginUser.isAnonymous() || !$isLoggedIn )
      If you would like to add a folder, please <a href="/servlets/TLogin">log in</a>.
      #end
     </p>
    #else
     #foreach( $section in $topSections )
     #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", "rootSectionID=$section.getID()") )
      <p>
      #if ($section.isApproved())
       $indentChar<a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$section.getName()</a>  
      #elseif ($canApprove)
       $indentChar<a href="$currentProject.getProjectPageURL("ProjectSectionApproval")">Pending</a>:&nbsp;<a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$section.getName()</a>
      #else
       $indentChar<font color="red">Pending: </font>&nbsp;  <a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$section.getName()</a> 
      #end
      </p>
       #foreach( $subsection in $section.getSubsections() )
       #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", "rootSectionID=$subsection.getID()") )
         <p>
	 #if ($subsection.isApproved())
          ${indentChar}&nbsp;&nbsp;<a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$subsection.getName()</a>  
         #elseif ($canApprove)
          ${indentChar}&nbsp;&nbsp;<img src="/branding/images/closedfolder.gif" border="0" width="24" height="14"><a href="$currentProject.getProjectPageURL("ProjectSectionApproval")"><font color="red">Pending</a>:</font>&nbsp;&nbsp;<a href="$jumpURL">&nbsp;$subsection.getName()</a>
         #else
          ${indentChar}&nbsp;&nbsp;<font color="red">Pending: </font>&nbsp;  <a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$subsection.getName()</a> 
         #end
         </p>
      #end
     #end
    #end
   </td>
   <td>
   #if( $rootSection && !$rootSection.getDescription().equals("") )
   <p>$rootSection.getDescription()</p>
   #end
## RIGHT PANE: DOCUMENTS
    <div class="axial">
    #if( !$documents.isEmpty() )
    <table border="0" cellspacing="0" cellpadding="0" width="100%" >
     #foreach( $document in $documents )
     <tr>
      <th nowrap="nowrap">
       #if ($document.isApproved())
        $document.getName()
       #elseif ($canApprove)
        <a href="$currentProject.getProjectPageURL("ProjectDocumentApproval")">Pending</a>:&nbsp;<a href="$URL">$document.getName()</a>
       #else
        Pending:&nbsp; $document.getName()
       #end
      </th>
      <td>Status: 
          #if ($document.getStatus()) $document.getStatus() #else Active #end
      </td>
     </tr>
     <tr>
      <td rowspan=2 valign="top">$document.getDescription()</td>
      <td>Created by <a href="mailTo:$document.getProposedByUser().getEmail()">$document.getProposedByUser().getLoginName()</a> on $document.getCreatedDateString()</td>
     </tr>
    #if( !$document.getModifiedBy().equals("0") )
     <tr>
      <td colspan="2">Modified by  <a href="mailTo:$document.getModifiedByUser().getEmail()">$document.getModifiedByUser().getLoginName()</a> on $document.getModifiedDateString()</td>
     </tr>
    #else
        <tr><td></td></tr>
    #end
    #if( $document.getFileName() )
      #set( $type = $document.getMimeType())
      #if( $type.equals("image"))
        #set ($icon = "/branding/images/icon_image.gif")
      #elseif ( $type.equals("html"))
        #set ($icon = "/branding/images/icon_globe.gif")
      #elseif ( $type.equals("txt"))
        #set ($icon = "/branding/images/icon_txt.gif")
      #elseif ( $type.equals("zip"))
        #set ($icon = "/branding/images/icon_zip.gif")
      #elseif ( $type.equals("pdf"))
        #set ($icon = "/branding/images/icon_pdf.gif")
      #else
        #set ($icon = "/branding/images/icon_setup.gif")
      #end
     <tr>
      <td class="PlainText" valign="top" ><a href="$document.getDownloadLink($currentProject)"><img src="$icon" align="texttop" border="0"></a> <a href="$document.getDownloadLink($currentProject)">$document.getFileName()</a></td>
      <td class=""PlainText" valign="top" >File Size: $document.getSize()</td>
     </tr>
    #end
     <tr>
      <td>
       #if( $document.getUrl() && !$document.getUrl().equals("") )
            URL: <a href="$document.getUrl()">$document.getUrl()</a>
       #end
      </td>
      <td>
       #set( $viewURL = $currentProject.getProjectPageURL("ProjectDocumentView", "documentID=$document.getID()") )
       #set( $editURL = $currentProject.getProjectPageURL("ProjectDocumentEdit", "documentID=$document.getID()") )
       #set( $deleteURL = $currentProject.getProjectPageURL("ProjectDocumentDelete", "documentID=$document.getID()") )
       <a href="$viewURL">View</a> 
      #if( $document.assertEditPermission($acl) )
| <a href="$editURL">Edit</a>
      #end
      #if( $document.assertDeletePermission($acl) )
      | <a href="$deleteURL">Delete</a>
      #end
      </td>
      </tr>
     #end
     </table>
     #else
     <p class="alert">There are no documents for this section.</p>
     #end
</table>
#end
</div>
@


1.12
log
@Corrected syntax error.
@
text
@@


1.11
log
@fixed permission check for Editing and Deleting documents.
@
text
@d4 1
a4 1
#if( $acl.assertDeletePermission($acl)
@


1.10
log
@preliminary xhtml clean up - will finish it after documents are fully functional
@
text
@d4 2
a5 2
#if( $acl.hasPermissionForProject("Project Document - Edit", $currentProject) )
  #set( $canEdit = true )
d159 7
a165 1
       <a href="$viewURL">View</a> | <a href="$editURL">Edit</a> | <a href="$deleteURL">Delete</a>
d175 1
a175 1
</div>@


1.9
log
@Added a cleanup FIXME and added ACL-based filtering of documents for a
section.
@
text
@a23 6
<TABLE BORDER="0"  CELLSPACING="1" CELLPADDING="1" WIDTH="100%">
  <TR>
    <TD class="Header" width="25%" nowrap><b>Project Documents:</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
  </TR>
</TABLE>
<P>
d25 7
d35 1
a35 1
<a href="$jumpURL">Top</a>  
a43 1

d45 6
a50 18
        <TABLE BORDER="1" BORDERCOLOR="#0000000" BORDERCOLORDARK="#0000000" CELLSPACING="1" CELLPADDING="1" WIDTH="100%" >
    <TD BGCOLOR="#990000" WIDTH="30%">
       <table cellpadding="1" cellspacing="1" width=100%>
         <tr>
           <th class="Header"><font color="white">Folder</font></th?
         </tr>
        </table>
    </TD>
          
    <TD WIDTH="80%" BGCOLOR="#990000" >
       <table cellpadding="1" cellspacing="1" width=100%>
         <tr>
           <th class="Header" colspan="2"><font color="white">Documents</font></th>
         </tr>
        </table>
      </TD>
  </TR>

d52 41
a92 60
  <TR>
      <TD valign="top" class="PlainText">
         <table border="0" cellspacing="2" cellpadding="1" width="100%" HEIGHT="200">
           <tr>
             <td class="PlainText" valign="top">
             #if( $rootSection )
                   #if ($rootSection.isApproved())
                        <img src="/branding/images/openfolder.gif">&nbsp;<b>$rootSection.getName()</b> 
                   #elseif ($canApprove)
                        <a href="$currentProject.getProjectPageURL("ProjectSectionApproval")"><font color="red">Pending</a>:</font>&nbsp;&nbsp;<img src="/branding/images/openfolder.gif">&nbsp;<b>$rootSection.getName()</b>   
                   #else
                        <font color="red">Pending:</font>&nbsp;&nbsp;<img src="/branding/images/openfolder.gif">&nbsp;<b>$rootSection.getName()</b>   
                   #end
               <br><br>
             #end
        #if( $topSections.isEmpty() && !$rootSection )
            <SPAN CLASS="PlainText"><i>There are no document folders for this project.
           #if( $loginUser.isAnonymous() || !$isLoggedIn )
             If you would like to add a folder, please <a href="/servlets/TLogin">log in</a></i>.
           #end
           </SPAN>
        #else
             #foreach( $section in $topSections )
                #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", "rootSectionID=$section.getID()") )
           #if ($section.isApproved())
                $indentChar<a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$section.getName()</a>  
           #elseif ($canApprove)
                $indentChar<a href="$currentProject.getProjectPageURL("ProjectSectionApproval")"><font color="red">Pending</a>:</font>&nbsp;&nbsp;<a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$section.getName()</a>
           #else
                $indentChar<font color="red">Pending: </font>&nbsp;  <a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$section.getName()</a> 
           #end
                <br><br>

               #foreach( $subsection in $section.getSubsections() )
                  #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", "rootSectionID=$subsection.getID()") )
                   #if ($subsection.isApproved())
                       ${indentChar}&nbsp;&nbsp;<a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$subsection.getName()</a>  
                   #elseif ($canApprove)
                        ${indentChar}&nbsp;&nbsp;<img src="/branding/images/closedfolder.gif" border="0" width="24" height="14"><a href="$currentProject.getProjectPageURL("ProjectSectionApproval")"><font color="red">Pending</a>:</font>&nbsp;&nbsp;<a href="$jumpURL">&nbsp;$subsection.getName()</a>
                   #else
                       ${indentChar}&nbsp;&nbsp;<font color="red">Pending: </font>&nbsp;  <a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$subsection.getName()</a> 
                   #end
                <br><br>
               #end
             #end
#end
             </td>
           </tr>
         </table>
      </td>
      <td valign="top">

        <table border="0" cellspacing="2" cellpadding="1" width="100%">
    #if( $rootSection && !$rootSection.getDescription().equals("") )
         <tr>
          <td colspan="3">$rootSection.getDescription()</td>
         </tr>
         <tr>
          <td colspan=3><hr align="center" width="100%" noshade size="1"></td>
         </tr>
d94 5
a98 1

d100 3
a102 1
   #if( !$documents.isEmpty() )
d104 18
a121 17
         <tr>
          <td width="45%" class="PlainText" valign="top">
           #if ($document.isApproved())
               <b>$document.getName()</b>
           #elseif ($canApprove)
               <a href="$currentProject.getProjectPageURL("ProjectDocumentApproval")"><font color="red">Pending</a>:</font>&nbsp;&nbsp;<a href="$URL"><b>$document.getName()</b></a>
           #else
               <font color="red">Pending: </font>&nbsp; <b>$document.getName()</b>
           #end
          <td width="5%" rowspan=5></td>
          <td>Status: 
              #if ($document.getStatus()) $document.getStatus() #else Active #end</td>
        </tr>
        <tr>
          <td rowspan=2 valign="top" class="PlainText">$document.getDescription()</td>
          <td>Created by <a href="mailTo:$document.getProposedByUser().getEmail()">$document.getProposedByUser().getLoginName()</a> on $document.getCreatedDateString()</td>
        </tr>
d123 3
a125 3
        <tr>
          <td class="PlainText" valign="top" >Modified by  <a href="mailTo:$document.getModifiedByUser().getEmail()">$document.getModifiedByUser().getLoginName()</a> on $document.getModifiedDateString()</td>
        </tr>
d144 4
a147 4
        <tr>
           <td class="PlainText" valign="top" ><a href="$document.getDownloadLink($currentProject)"><img src="$icon" align="texttop" border="0"></a> <a href="$document.getDownloadLink($currentProject)">$document.getFileName()</a></td>
           <td class=""PlainText" valign="top" >File Size: $document.getSize()</td>
        </tr>
d149 3
a151 3
        <tr>
          <td>
          #if( $document.getUrl() && !$document.getUrl().equals("") )
d153 11
a163 12
          #end</td>
          <td class="PlainText" valign="top">
          #set( $viewURL = $currentProject.getProjectPageURL("ProjectDocumentView", "documentID=$document.getID()") )
          #set( $editURL = $currentProject.getProjectPageURL("ProjectDocumentEdit", "documentID=$document.getID()") )
          #set( $deleteURL = $currentProject.getProjectPageURL("ProjectDocumentDelete", "documentID=$document.getID()") )
          <a href="$viewURL">View</a> | <a href="$editURL">Edit</a> | <a href="$deleteURL">Delete</a></td>
        </tr>
        <tr>
          <td colspan=3><hr align="center" width="100%" noshade size="1"></td>
        </tr>
#end
       </table>
d165 1
a165 3
        <tr>
         <td colspan="3"><i>There are no documents in this folder.</i></td>
        </tr>
d168 2
a169 1
</TABLE>
@


1.8
log
@made status field dynamic. Checking for null url field.
@
text
@d11 1
d15 1
a15 1
    #set( $documents = $rootSection.getDocuments() )
@


1.7
log
@added check for mime type, using icon accordingly. will add more mime types later as needed.
@
text
@d138 2
a139 1
          <td>Status: Active</td>
d174 1
a174 1
          #if( !$document.getUrl().equals("") )
@


1.6
log
@using short formats for dates
@
text
@d152 14
d167 1
a167 1
           <td class="PlainText" valign="top" ><a href="$document.getDownloadLink($currentProject)"><img src="/branding/images/icon_txt.gif" align="texttop" border="0"></a> <a href="$document.getDownloadLink($currentProject)">$document.getFileName()</a></td>
@


1.5
log
@added "Pending:" links for unapproved documents and folders
@
text
@d98 7
a104 7
           #if ($subsection.isApproved())
               ${indentChar}&nbsp;&nbsp;<a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$subsection.getName()</a>  
           #elseif ($canApprove)
                ${indentChar}&nbsp;&nbsp;<a href="$currentProject.getProjectPageURL("ProjectSectionApproval")"><font color="red">Pending</a>:</font>&nbsp;&nbsp;<a href="$jumpURL">><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$subsection.getName()</a>
           #else
               ${indentChar}&nbsp;&nbsp;<font color="red">Pending: </font>&nbsp;  <a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$subsection.getName()</a> 
           #end
d131 1
a131 1
               <a href="$URL"><b>$document.getName()</b></a>
d135 1
a135 1
               <font color="red">Pending: </font>&nbsp; <a href="$URL"><b>$document.getName()</b></a>
d142 1
a142 1
          <td>Created by <a href="mailTo:$document.getProposedByUser().getEmail()">$document.getProposedByUser().getLoginName()</a> on $document.getCreatedDate()</td>
d146 1
a146 1
          <td class="PlainText" valign="top" >Modified by  <a href="mailTo:$document.getModifiedByUser().getEmail()">$document.getModifiedByUser().getLoginName()</a> on $document.getModifiedDate()</td>
@


1.4
log
@Changed UI for Project Document component. Two-pane UI now: left pane for folder tree, right pane for document list.  There is now summary information about each document in the list. The List has a "root folder" that is the root of the tree. You add subfoldrs and sections to the root folder. Folders can now be nested to infinite number of levels.

Now a document can have 0-3 of the following: file upload, URL, or text (instead of having one and only one of the three as before).  There are now fields for modified by, modified date, and is_public (for the file upload).
@
text
@d69 7
a75 1
               <img src="/branding/images/openfolder.gif">&nbsp;<b>$rootSection.getName()</b> 
d87 7
a93 1
               $indentChar<a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$section.getName()</a>
d98 7
a104 1
                  ${indentChar}&nbsp;&nbsp; <a href="$jumpURL"><img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$subsection.getName()</a>
d130 7
a136 6
          #if( !$document.getText().equals("") )
            #set( $URL = $currentProject.getProjectPageURL("ProjectDocumentView", "documentID=$document.getID()") )
           <a href="$URL"><b>$document.getName()</b></a>
          #else
           <b>$document.getName()</b> 
          #end
@


1.3
log
@fixed more whatever crap
@
text
@a0 1

d12 1
d16 1
a20 2

top= $currentProject.getSections()
d33 7
a39 7
<a href="$jumpURL">Top</a> : 
#foreach( $sec in $rootSection.getParentSections() )
    #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", "rootSectionID=$sec.getID()") )
    <a href="$jumpURL">$sec.getName()</a> : 
#end 
#if( $rootSection )
 <b>$rootSection.getName()</b>
d74 1
a74 1
           #if( ($loginUser.isAnonymous()) || (!isLoggedIn) )
d81 1
a81 1
                <a href="$jumpURL">$indentChar<img src="/branding/images/closedfolder.gif" border="0" width="24" height="14">&nbsp;$section.getName()</a>
d100 1
a100 1
          <td colspan="3"> hi $rootSection.getDescription()</td>
d106 1
d113 1
a113 1
            #set( $URL = "$currentProject.getProjectPageURL("ProjectDocumentView", "documentID=$document.getID()")" )
d123 1
a123 1
          <td>Created by elicia on 01-09-01</td>
d125 1
d127 1
a127 1
          <td class="PlainText" valign="top" >Modified by jenifer on 02-09-01</td>
d129 4
d134 1
a134 1
           <td class="PlainText" valign="top" ><a href="$document.getDownloadPath()"><img src="/branding/images/icon_pdf.gif" align="texttop" > $document.getFileName()</a></td>
d137 1
@


1.2
log
@fixed broken args passing in templates made by conversion program
@
text
@d33 1
a33 1
#set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", "rootSectionID=0")
d36 1
a36 1
    #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", "rootSectionID=$sec.getID()")
d81 1
a81 1
                #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", "rootSectionID=$section.getID()")
d86 1
a86 1
                  #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", "rootSectionID=$subsection.getID()")
d113 1
a113 1
            #set( $URL = "$currentProject.getProjectPageURL("ProjectDocumentView", "documentID=$document.getID()")"
d138 3
a140 3
          #set( $viewURL = $currentProject.getProjectPageURL("ProjectDocumentView", "documentID=$document.getID()")
          #set( $editURL = $currentProject.getProjectPageURL("ProjectDocumentEdit", "documentID=$document.getID()")
          #set( $deleteURL = $currentProject.getProjectPageURL("ProjectDocumentDelete", "documentID=$document.getID()")
@


1.1
log
@Adding Velocity templates.
@
text
@d33 1
a33 1
#set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", )"rootSectionID=0")
d36 1
a36 1
    #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", )"rootSectionID=$sec.getID()")
d81 1
a81 1
                #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", )"rootSectionID=$section.getID()")
d86 1
a86 1
                  #set( $jumpURL = $currentProject.getProjectPageURL("ProjectDocumentList", )"rootSectionID=$subsection.getID()")
d113 1
a113 1
            #set( $URL = "$currentProject.getProjectPageURL("ProjectDocumentView", )"documentID=$document.getID()")"
d138 3
a140 3
          #set( $viewURL = $currentProject.getProjectPageURL("ProjectDocumentView", )"documentID=$document.getID()")
          #set( $editURL = $currentProject.getProjectPageURL("ProjectDocumentEdit", )"documentID=$document.getID()")
          #set( $deleteURL = $currentProject.getProjectPageURL("ProjectDocumentDelete", )"documentID=$document.getID()")
@

