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


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

1.3
date	2001.06.17.03.39.02;	author jefflove;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.07.19.10.15;	author neil;	state Exp;
branches;
next	1.1;

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


desc
@@


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

#set( $unapprovedSections = $currentProject.getUnapprovedSections() )

<h3>Project Document Section Approval: $currentProject.getName()</h3>

#if( !$unapprovedSections.isEmpty() )
<h4>Sections pending approval within project $currentProject.getName()</h4>

<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( $section in $unapprovedSections )
 <tr class="$rowClass"> 
  <td>$section.getName()</td> 
  <td>$section.getDescription()</td> 
  <td><a href="/servlets/UserEdit?userID=$section.getProposedBy()">$section.getProposedByUser().getLoginName()</a></td>
  <td> 
 <div>
 <input type="radio" name="action_$section.getID()" value="Approve" /> Approve
 </div>
<div>
  <input type="radio" name="action_$section.getID()" value="Defer" checked="checked" /> Defer
 </div>
<div>
  <input type="radio" name="action_$section.getID()" value="Disapprove" /> Disapprove 
 </div></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 sections pending approval.</p>
#end
</div>
@


1.3
log
@html usage revisions
@
text
@@


1.2
log
@ui recoded
@
text
@d7 2
a8 1
<h4>Sections pending approval within project $currentProject.getName():</h4>
d12 1
a12 1
<table>
d19 1
a19 1
#if( !$unapprovedSections.isEmpty() )
d21 1
a21 1
 <tr> 
d26 9
a34 4
   <input type="radio" name="action_$section.getID()" value="Approve" />Approve
   <input type="radio" name="action_$section.getID()" value="Defer" checked="checked" />Defer
   <input type="radio" name="action_$section.getID()" value="Disapprove" />Disapprove 
  </td> 
d36 5
d48 2
d51 1
a51 3
 <tr>
  <td colspan="4">No sections pending approval.</td>
 </tr>
a52 4
</table>

</form>

@


1.1
log
@Adding Velocity templates.
@
text
@d1 2
d5 13
a17 21
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap><b>Project Document Section Approval:</b> <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
  </TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" BORDER="0" WIDTH="100%">
  <TR>
    <TD CLASS="Welcome"><b>Sections pending approval within project $currentProject.getName():</b></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"><b>Name</b></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Description</b></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Proposed By</b></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Action</b></TD>
  </TR>
d20 10
a29 10
  <TR> 
   <TD class="TableData" VALIGN="top">$section.getName()</TD> 
   <TD class="PlainText" VALIGN="top">$section.getDescription()</TD> 
   <TD class="TableData" VALIGN="top"><A HREF="/servlets/UserEdit?userID=$section.getProposedBy()" class="TableData">$section.getProposedByUser().getLoginName()</A></TD> 
   <TD class="PlainText"> 
    <INPUT TYPE="radio" NAME="action_$section.getID()" VALUE="Approve">Approve
    <INPUT TYPE="radio" NAME="action_$section.getID()" VALUE="Defer" CHECKED>Defer
    <INPUT TYPE="radio" NAME="action_$section.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 sections pending approval.</TD>
 </TR>
d42 5
a46 2
</FORM>
</TABLE>
@

