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


1.15
date	2001.08.24.01.39.32;	author tfahrner;	state Exp;
branches;
next	1.14;

1.14
date	2001.08.20.22.29.23;	author tfahrner;	state Exp;
branches;
next	1.13;

1.13
date	2001.08.03.05.45.07;	author tfahrner;	state Exp;
branches;
next	1.12;

1.12
date	2001.07.31.01.18.40;	author tfahrner;	state Exp;
branches;
next	1.11;

1.11
date	2001.07.31.00.01.56;	author tfahrner;	state Exp;
branches;
next	1.10;

1.10
date	2001.07.30.21.59.23;	author tfahrner;	state Exp;
branches;
next	1.9;

1.9
date	2001.07.30.21.24.28;	author tfahrner;	state Exp;
branches;
next	1.8;

1.8
date	2001.06.18.22.10.04;	author neil;	state Exp;
branches;
next	1.7;

1.7
date	2001.06.18.22.08.55;	author neil;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.14.21.39.59;	author neil;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.12.18.15.09;	author neil;	state Exp;
branches;
next	1.4;

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

1.3
date	2001.05.25.02.14.21;	author dlr;	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.15
log
@removed redundant task links
@
text
@<div id="projectmailinglistlist" class="app">

#if( $info )
 <p><strong class="alert">$info</strong>
</p>
#end

<h3>Mailing Lists: <a href="$res.encodeUrl("$currentProject.getProjectHome()")">$currentProject.getName()</a></h3>

#if( $mailingLists.isEmpty() )
 <p><strong class="alert">
  There are no mailing lists for this project.
 </strong>
</p>
   #if( $loginUser.isAnonymous() || (!$isLoggedIn) )
    <p>
     If you would like to add or edit a mailing list, please <a href="$res.encodeUrl("/servlets/TLogin")">log in</a>.
    </p>
   #end

#else
 #foreach( $list in $mailingLists )
 #set( $listAddress = $list.getAddress("") )

<h4>
#if( $myProperties.getProperty("org.tigris.eyebrowse.useLocalMail").equals("false") )
    $listAddress
#else
    $listAddress 
#end
</h4>

 ## FIXME: This looks odd...
 #if( $acl.hasPermission("Mailing List - Edit",$list.getListName(),$currentProject) )
 #set( $mailEditURL = $currentProject.getProjectPageURL("MailingListEdit", "list=$list.getListName()") )
 #end

<p>
 #set( $archiveURL = $currentProject.getProjectPageURL("SummarizeList", "listName=$list.getListName()") )
 #set( $searchURL = $currentProject.getProjectPageURL("SearchList", "listName=$list.getListName()") )
         <a href="$archiveURL">View Archive</a> | <a href="$searchURL">Search Archive</a>
 #if( $acl.hasPermission("Mailing List - Edit",$list.getListName(),$currentProject) )
 #set( $mailEditURL = $currentProject.getProjectPageURL("MailingListEdit", "list=$list.getListName()") )
        | <a href="${mailEditURL">Edit $list.getListName() Mailing List</a>
 #end
</p>
 
<dl>
 <dt>Description:</dt>
 <dd>$list.getDescription()</dd>
 
#if( $myProperties.getProperty("org.tigris.eyebrowse.useLocalMail").equals("false") )

 #set( $subscribe = $list.getAddress("subscribe") )
  <dt>Subscribe:</dt>
  <dd>send email to: <a href="mailto:$subscribe">$subscribe</a></dd>

 #set( $unsubscribe = $list.getAddress("unsubscribe") )
  <dt>Unsubscribe:</dt>
  <dd>send email to: <a href="mailto:$unsubscribe">$unsubscribe</a></dd>
  
#end

</dl>

#if( !$loginUser.isAnonymous() )

<form action="ProjectMailingListList" method="post">

<p>
 <input type="radio" name="subtype" value="normal" checked="checked" />
  Message-by-message
 <input type="radio" name="subtype" value="digest" />
  Digest format
</p>

<p>
 <input type="hidden" name="projectID" value="$currentProject.getID()" />
 <input type="hidden" name="listName" value="$list.getListName()" />
 <input type="submit" name="Button" value="Subscribe" />
 &nbsp;&nbsp;
 <input type="hidden" name="projectID" value="$currentProject.getID()" />
 <input type="hidden" name="listName" value="$list.getListName()" />
 <input type="submit" name="Button" value="Unsubscribe" />
</p>

</form>

#end

#end

#end

</div>
@


1.14
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@a2 1

a8 6

#if( $acl.hasPermission("Mailing List - Add", $currentProject) )
 <p class="affordance">
  <a href="$res.encodeUrl("$currentProject.getProjectPageURL(MailingListAdd)")">Add New Mailing List</a>
 </p> 
#end
@


1.13
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a1 3
<h2>
 #parse( "Nomen.vm" )
</h2>
@


1.12
log
@included "task nav" below headlines
@
text
@a4 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


1.11
log
@pulled admin options, added headlines
@
text
@d5 4
@


1.10
log
@html usage revision to synch with scarab
@
text
@d2 3
@


1.9
log
@removed dependency on CSS for differentiation of alerts
@
text
@d1 1
a1 1
<div id="projectmailinglistlist">
@


1.8
log
@ui recode: now with dl's not a table
@
text
@d4 2
a5 1
 <p class="alert">$info</p>
d17 1
a17 1
 <p class="alert">
d19 2
a20 1
 </p>
@


1.7
log
@ui recode: not with dl's not a table
@
text
@d54 1
a54 1
  <dd>$list.getDescription()</dd>
d60 1
a60 1
   <dd>send email to: <a href="mailto:$subscribe">$subscribe</a></dd>
@


1.6
log
@ui recode: adding axial class
@
text
@d52 4
a55 7
<div class="axial">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
 <tr class="a">
  <th>Description:</th>
  <td class="PlainText">$list.getDescription()</td>
 </tr>

a57 1
 <tr class="b">
d59 2
a60 3
  <th>Subscribe:</th>
  <td>send email to: <a href="mailto:$subscribe">$subscribe</a></td>
 </tr>
a61 1
 <tr class="a">
d63 3
a65 4
  <th>Unsubscribe:</th>
  <td>send email to: <a href="mailto:$unsubscribe">$unsubscribe</a></td>
 </tr>

d68 1
a68 2
</table>
</div>
@


1.5
log
@ui recoded
@
text
@d4 1
a4 1
<p class="alert">$info</p>
d10 3
a12 3
<p class="affordance">
 <a href="$res.encodeUrl("$currentProject.getProjectPageURL(MailingListAdd)")">Add New Mailing List</a>
</p> 
d16 3
a18 3
<p class="alert">
 There are no mailing lists for this project.
</p>
d20 3
a22 3
 <p>
  If you would like to add or edit a mailing list, please <a href="$res.encodeUrl("/servlets/TLogin")">log in</a>.
 </p>
d26 2
a27 4
#foreach( $list in $mailingLists )
#set( $listAddress = $list.getAddress("") )

<div class="mailinglist">
d46 4
a49 3
#if( $acl.hasPermission("Mailing List - Edit",$list.getListName(),$currentProject) )
#set( $mailEditURL = $currentProject.getProjectPageURL("MailingListEdit", "list=$list.getListName()") )
        | <a href="${mailEditURL">Edit $list.getListName() Mailing List</a>&nbsp
d51 2
a52 3
#end


d54 4
a57 4
<tr>
<th>Description:</th>
<td class="PlainText">$list.getDescription()</td>
</tr>
d61 13
a73 11
<tr>
#set( $subscribe = $list.getAddress("subscribe") )
<th>Subscribe:</th>
<td>send email to: <a href="mailto:$subscribe">$subscribe</a></td>
</tr>

<tr>
#set( $unsubscribe = $list.getAddress("unsubscribe") )
<th>Unsubscribe:</th>
<td>send email to: <a href="mailto:$unsubscribe">$unsubscribe</a></td>
</tr>
d76 1
a100 2
#else

a102 2
</div>

a105 2
#end

@


1.4
log
@tweaked so that page would parse after velocity port
@
text
@d1 2
d4 1
a4 1
  <li class="PlainText">$info
d7 2
a8 3
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Mailing Lists: <SPAN CLASS="ProjectNameHeader"><A HREF="$res.encodeUrl("$currentProject.getProjectHome()")">$currentProject.getName()</a></SPAN></TD>  
d10 3
a12 1
    <TD ALIGN="right" class="ProjectName"><A HREF="$res.encodeUrl("$currentProject.getProjectPageURL(MailingListAdd)")"><b>Add New Mailing List</b></a></TD>
d14 1
a14 6
  </TR>
  <tr>
   <td colspan="2"><hr size="1" noshade></td>
  </tr>
</TABLE>
<P>
d16 3
a18 4
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
 <TR>
  <TD class="PlainText" >
   <i>There are no mailing lists for this project.</i>
d20 3
a22 2
    <P>
    <i>If you would like to add or edit a mailing list, please <a href="$res.encodeUrl("/servlets/TLogin")">log in</a></i>.
d24 1
a24 3
  </TD>
 </TR>
</TABLE>
d29 1
d31 1
a31 11


<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
<tr>
<td width="10%" height="1"><spacer type="block" width="1" height="1"></td>
<td width="60%" height="1"><spacer type="block" width="1" height="1"></td>
<td width="30%" height="1"><spacer type="block" width="1" height="1"></td>
</tr>

  <TR>
    <TD colspan="2" width="70%" class="InputHeader">
d37 2
a38 1
    </TD>
d41 2
a42 8
    <TD width="30%" ALIGN="right" CLASS="StatText" nowrap>
#set( $mailEditURL = $currentProject.getProjectPageURL("MailingListEdit", "list=$list.getListName()") )
     &nbsp;
    </TD>
#end

  </TR>

d44 1
a44 3

  <TR>
    <TD colspan="3" class="InputHeader">
d47 1
a47 2
    <span class="StatText">
         <a href="$archiveURL">View Archive</A> | <a href="$searchURL">Search Archive</a>
d51 1
a51 1
    </TD>
a53 1
  </TR>
d55 1
d57 2
a58 11
<td height="5" colspan="3"><spacer type="block" height="5"></td>
</tr>

  <TR>

<td colspan="3">

<table cellspacing="2" cellpadding="0" border="0">
<tr>
<td width="100" class="PlainText"><b>Description:</b></TD>
<td class="PlainText">$list.getDescription()</TD>
d65 2
a66 2
<td class="PlainText"><b>Subscribe:</b></TD>
<td class="PlainText" colspan="2">send email to: <A HREF="mailto:$subscribe">$subscribe</A></TD>
d71 2
a72 2
<td class="PlainText"><b>Unsubscribe:</b></TD>
<td class="PlainText" colspan="2">send email to: <A HREF="mailto:$unsubscribe">$unsubscribe</A></TD>
d74 1
a76 4
</td>
</TR>


d79 1
a79 3
<tr>
<TD VALIGN="top" CLASS="PlainText" NOWRAP colspan="3"><FORM ACTION="ProjectMailingListList" METHOD="POST"><INPUT TYPE="radio" NAME="subtype" VALUE="normal" CHECKED>&nbsp;Message-by-message&nbsp;&nbsp;&nbsp;<INPUT TYPE="radio" NAME="subtype" VALUE="digest">&nbsp;Digest format</TD>
</TR>
d81 16
a96 3
<TR>
<TD VALIGN="top" colspan="3"><INPUT TYPE="hidden" NAME="projectID" VALUE="$currentProject.getID()"><INPUT TYPE="hidden" NAME="listName" VALUE="$list.getListName()"><INPUT TYPE="submit" NAME="Button" VALUE="Subscribe">&nbsp;&nbsp;&nbsp;<INPUT TYPE="hidden" NAME="projectID" VALUE="$currentProject.getID()"><INPUT TYPE="hidden" NAME="listName" VALUE="$list.getListName()"><INPUT TYPE="submit" NAME="Button" VALUE="Unsubscribe"></FORM></TD>
</TR>
d98 1
d101 1
a101 1
<br>
d104 1
a104 4
<tr>
<td colspan="3"><hr size="1" noshade></td>
</tr>
</table>
d112 1
@


1.3
log
@Corrected VTL syntax error(s).
@
text
@d22 1
a22 1
   #if( ($loginUser.isAnonymous()) || (!isLoggedIn) )
d31 1
a31 1
#set( $listAddress = "$list.getAddress("")" )
d71 1
a71 1
        | <a href="${mailEditURL">Edit $list.getListName() Mailing List</a>&nbsp}
d94 1
a94 1
#set( $subscribe = "$list.getAddress(subscribe)" )
d100 1
a100 1
#set( $unsubscribe = "$list.getAddress(unsubscribe)" )
d132 1
@


1.2
log
@fixed broken args passing in templates made by conversion program
@
text
@d51 1
d54 3
a56 1
#set( $mailEditURL = "$currentProject.getProjectPageURL("MailingListEdit", "list=${list.getListName()")" &nbsp}</TD>
d65 2
a66 2
 #set( $archiveURL = "$currentProject.getProjectPageURL("SummarizeList", "listName=$list.getListName()")"
 #set( $searchURL = "$currentProject.getProjectPageURL("SearchList", "listName=$list.getListName()")"
d70 1
a70 1
#set( $mailEditURL = "$currentProject.getProjectPageURL("MailingListEdit", "list=$list.getListName()")"
@


1.1
log
@Adding Velocity templates.
@
text
@d53 1
a53 1
#set( $mailEditURL = "$currentProject.getProjectPageURL("MailingListEdit", )"list=${list.getListName()")" &nbsp}</TD>
d62 2
a63 2
 #set( $archiveURL = "$currentProject.getProjectPageURL("SummarizeList", )"listName=$list.getListName()")"
 #set( $searchURL = "$currentProject.getProjectPageURL("SearchList", )"listName=$list.getListName()")"
d67 1
a67 1
#set( $mailEditURL = "$currentProject.getProjectPageURL("MailingListEdit", )"list=$list.getListName()")"
@

