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


1.5
date	2001.07.19.19.09.50;	author elicia;	state dead;
branches;
next	1.4;

1.4
date	2001.06.19.00.40.46;	author jefflove;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.07.21.17.37;	author neil;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.31.21.49.34;	author elicia;	state Exp;
branches;
next	1.1;

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


desc
@@


1.5
log
@removing document-related templates, since they are being extracted out into the nidaba component.
@
text
@<div id="projectdocumentapproval">

#set( $unapprovedDocs = $currentProject.getUnapprovedDocuments() )

<h3>Project Document Approval: <a href="$currentProject.getProjectHome()">$currentProject.getName()</a></h3>

#if( !$unapprovedDocs.isEmpty() )
<p>Documents pending approval within project $currentProject.getName():</p>

<form action="$servletName" method="post" enctype="application/x-www-form-urlencoded">

<table border="0" cellspacing="0" cellpadding="2" width="100%">
 <tr>
  <th>Name</th>
  <th>Description</th>
  <th>Proposed By</th>
  <th>Action</th>
 </tr>
  #set ($rowClass="a")
 #foreach( $document in $unapprovedDocs )
 <tr class="$rowClass"> 
  <td><a href="$document.getLink($currentProject)">$document.getName()</a></td>
  <td>$document.getDescription()</td> 
  <td><a href="/servlets/UserEdit?userID=$document.getProposedBy()">$document.getProposedByUser().getLoginName()</a></td> 
  <td> 
   <input type="radio" name="action_$document.getID()" value="Approve" />Approve
   <input type="radio" name="action_$document.getID()" value="Defer" checked="checked" />Defer
   <input type="radio" name="action_$document.getID()" value="Disapprove" />Disapprove 
  </td> 
 </tr> 
    #if ($rowClass.equals("a"))
     #set ($rowClass="b")
   #else 
     #set ($rowClass="a")
   #end
 #end
 <tr>
  <td></td>
  <td></td>
  <td></td>
  <td><input type="submit" name="Button" value="Perform Actions" /></td>
 </tr>
</table>
</form>
#else
 <p>No documents pending approval.</p>
#end
</div>
@


1.4
log
@html usage revisions
@
text
@@


1.3
log
@ui recoded
@
text
@d7 1
d19 1
a19 1
#if( !$unapprovedDocs.isEmpty() )
d21 1
a21 1
 <tr> 
d31 5
d43 2
d46 1
a46 3
 <tr>
  <td colspan="4">No documents pending approval.</td>
 </tr>
d48 1
a48 6

</table>

</form>

</div>@


1.2
log
@updated fonts and links on page header
@
text
@d1 2
d4 14
a17 22
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="100%">
   <TR>
      <TD class="Header" nowrap><b>Project Document Approval:</b> <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
   </TR>
</TABLE>


<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD CLASS="Welcome">Documents pending approval within project $currentProject.getName():</TD>
   </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BORDER="0" width="100%">
<FORM ACTION="$servletName" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded">

  <TR>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Name</TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Description</TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Proposed By</TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Action</TD>
  </TR>
d20 10
a29 10
  <TR> 
    <TD class="TableData" VALIGN="top"><A HREF="$document.getLink($currentProject)" class="TableData">$document.getName()</A></TD> 
   <TD class="PlainText" VALIGN="top">$document.getDescription()</TD> 
   <TD class="TableData" VALIGN="top"><A HREF="/servlets/UserEdit?userID=$document.getProposedBy()" class="TableData">$document.getProposedByUser().getLoginName()</A></TD> 
   <TD class="PlainText"> 
    <INPUT TYPE="radio" NAME="action_$document.getID()" VALUE="Approve">Approve
    <INPUT TYPE="radio" NAME="action_$document.getID()" VALUE="Defer" CHECKED>Defer
    <INPUT TYPE="radio" NAME="action_$document.getID()" VALUE="Disapprove">Disapprove 
   </TD> 
  </TR> 
d31 6
a36 6
 <TR>
  <TD></TD>
  <TD></TD>
  <TD></TD>
  <TD class="PlainText"><INPUT TYPE="submit" NAME="Button" VALUE="Perform Actions"></TD>
 </TR>
d38 3
a40 3
 <TR>
  <TD class="PlainText" COLSPAN="4">No documents pending approval.</TD>
 </TR>
d42 6
a47 2
</FORM>
</TABLE>
@


1.1
log
@Adding Velocity templates.
@
text
@d2 4
a5 4
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Project Document Approval: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
  </TR>
d8 1
d29 1
a29 1
   <TD class="TableData" VALIGN="top"><A HREF="/servlets/UserEdit?userID=$document.getProposedBy()" class="TableData">$document.getProposedByUser().getRealName()</A></TD> 
@

