head	1.6;
access;
symbols
	TIGRIS_1_1_0RC2:1.3
	TIGRIS_1_1_0RC1:1.3
	TIGRIS_1_1:1.3.0.4
	TIGRIS_1_0_8:1.3
	TIGRIS_1_0_8RC3:1.3
	TIGRIS_1_0_8RC2:1.3
	TIGRIS_1_0_8RC1:1.3
	TIGRIS_1_0_7:1.3
	TIGRIS_1_0_7RC3:1.3
	TIGRIS_1_0_7RC2:1.3
	TIGRIS_1_0_7RC1:1.3
	TIGRIS_1_0_6:1.3
	TIGRIS_1_0_6RC5:1.3
	TIGRIS_1_0_6RC4:1.3
	TIGRIS_1_0_6RC3:1.3
	TIGRIS_1_0_6RC2:1.3
	TIGRIS_1_0_6RC1:1.3
	TIGRIS_1_0_5:1.3
	TIGRIS_1_0_5RC6:1.3
	TIGRIS_1_0_5RC5:1.3
	TIGRIS_1_0_5RC4:1.3
	TIGRIS_1_0_5RC3:1.3
	TIGRIS_1_0_5RC2:1.3
	TIGRIS_1_0_5RC1:1.3
	TIGRIS_1_0_4:1.3
	TIGRIS_1_0_3:1.3
	TIGRIS_1_0_2:1.3
	TIGRIS_1_0_1:1.3
	TIGRIS_1_0:1.3.0.6
	TIGRIS_1_0_0:1.3
	TIGRIS_1_0_0_RC1:1.3.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.1
	TIGRIS_0_9_2_3:1.1
	HELM_PEER_PORT_BRANCH:1.1.1.1
	TURBINE_PEER:1.1
	TIGRIS_0_9_2_1:1.1
	TIGRIS_0_9_2:1.1.0.2;
locks; strict;
comment	@# @;


1.6
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.5;

1.5
date	2001.05.13.07.35.20;	author jrobbins;	state Exp;
branches;
next	1.4;

1.4
date	2001.03.29.23.45.02;	author susank;	state Exp;
branches;
next	1.3;

1.3
date	2001.02.22.22.22.30;	author elicia;	state Exp;
branches;
next	1.2;

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

1.1
date	2001.01.16.21.26.58;	author elicia;	state Exp;
branches
	1.1.1.1
	1.1.4.1;
next	;

1.1.1.1
date	2001.02.21.00.36.59;	author dlr;	state Exp;
branches;
next	;

1.1.4.1
date	2001.02.17.20.11.18;	author leonardr;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Removed WM templates in favor of Velocity templates.
@
text
@<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap><b>Project News 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>News items 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>Item</b></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Date</b></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Proposed By</b></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef"><b>Action</b></TD>
  </TR>

#set $paginatableList = $currentProject.getUnapprovedNews($itemsPerPage, $filter, $acl);
#set $newsPage = $paginatableList.getPage($paginated_page);

#if (!$newsPage.isEmpty())
{
 #foreach $item in $newsPage
 {
    #set $viewPage = $currentProject.getProjectPageURL("NewsItemView", "newsID=$item.getID()")
  <TR> 
   <TD class="TableData" VALIGN="top"><A HREF="$viewPage">$item.getHeadline()</A></TD> 
   <TD class="PlainText" VALIGN="top">$item.getEventDate()</TD> 
   <TD class="TableData" VALIGN="top"><A HREF="/servlets/UserEdit?userID=$item.getProposedByUser().getID()" class="TableData">$item.getProposedByUser().getRealName()</A></TD> 
   <TD class="PlainText"> 
    <INPUT TYPE="radio" NAME="action_$item.getID()" VALUE="Approve">Approve
    <INPUT TYPE="radio" NAME="action_$item.getID()" VALUE="Defer" CHECKED>Defer
    <INPUT TYPE="radio" NAME="action_$item.getID()" VALUE="Disapprove">Disapprove 
   </TD> 
  </TR> 
 }
 <TR>
  <TD></TD>
  <TD></TD>
  <TD></TD>
  <TD class="PlainText"><INPUT TYPE="submit" NAME="Button" VALUE="Perform Actions"></TD>
 </TR>
 <TR><TD COLSPAN="4" ALIGN="center" CLASS="PlainText">
  $paginatableList.navigationBar($currentProject.getProjectPageURL($servletName), $paginated_page);
 </TD></TR>
} #else {
 <TR>
  <TD class="PlainText" COLSPAN="4">No news items pending approval.</TD>
 </TR>
}
</FORM>
</TABLE>
@


1.5
log
@added style, regularized arguments to navigationBar, removed an unneeded link
@
text
@@


1.4
log
@merges UI cleanup changes from sc10inst
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d49 1
a49 1
  $paginatableList.navigationBar("ProjectNewsApproval", $paginated_page);
@


1.3
log
@updated method calls
@
text
@d3 1
a3 1
    <TD class="Header" nowrap>Project News Approval: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
d9 1
a9 1
    <TD CLASS="Welcome">News items pending approval within project $currentProject.getName():</TD>
d17 4
a20 4
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Item</TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Date</TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Proposed By</TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef">Action</TD>
@


1.2
log
@added link to view page
@
text
@d23 1
a23 2

#set $paginatableList = $currentProject.getUnapprovedNews($itemsPerPage, $criterion, $acl);
d34 1
a34 1
   <TD class="TableData" VALIGN="top"><A HREF="/servlets/UserEdit?userID=$item.getProposedByUser().getID()" class="TableData">$item.getProposedByUser().getName()</A></TD> 
@


1.1
log
@changed name from NewsItemApprove
@
text
@d26 1
d31 1
d33 1
a33 1
   <TD class="TableData" VALIGN="top"><A HREF="$currentProject.getProjectPageURL("ProjectNewsApproval")" class="TableData">$item.getHeadline()</A></TD> 
d35 1
a35 1
   <TD class="TableData" VALIGN="top"><A HREF="/servlets/UserEdit?userID=$item.getProposedBy()" class="TableData">$item.getProposedByName()</A></TD> 
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@a25 1

a29 1
    #set $viewPage = $currentProject.getProjectPageURL("NewsItemView", "newsID=$item.getID()")
d31 1
a31 1
   <TD class="TableData" VALIGN="top"><A HREF="$viewPage">$item.getHeadline()</A></TD> 
d33 1
a33 1
   <TD class="TableData" VALIGN="top"><A HREF="/servlets/UserEdit?userID=$item.getProposedByUser().getID()" class="TableData">$item.getProposedByUser().getName()</A></TD> 
@


1.1.4.1
log
@Ported changes from head.
@
text
@a25 1

a29 1
    #set $viewPage = $currentProject.getProjectPageURL("NewsItemView", "newsID=$item.getID()")
d31 1
a31 1
   <TD class="TableData" VALIGN="top"><A HREF="$viewPage">$item.getHeadline()</A></TD> 
d33 1
a33 1
   <TD class="TableData" VALIGN="top"><A HREF="/servlets/UserEdit?userID=$item.getProposedByUser().getID()" class="TableData">$item.getProposedByUser().getName()</A></TD> 
@


