head	1.6;
access;
symbols
	TIGRIS_1_1_0RC2:1.4.6.1
	TIGRIS_1_1_0RC1:1.4.6.1
	TIGRIS_1_1:1.4.6.1.0.2
	TIGRIS_1_0_8:1.4.6.1
	TIGRIS_1_0_8RC3:1.4.6.1
	TIGRIS_1_0_8RC2:1.4.6.1
	TIGRIS_1_0_8RC1:1.4.6.1
	TIGRIS_1_0_7:1.4.6.1
	TIGRIS_1_0_7RC3:1.4.6.1
	TIGRIS_1_0_7RC2:1.4.6.1
	TIGRIS_1_0_7RC1:1.4.6.1
	TIGRIS_1_0_6:1.4.6.1
	TIGRIS_1_0_6RC5:1.4.6.1
	TIGRIS_1_0_6RC4:1.4.6.1
	TIGRIS_1_0_6RC3:1.4.6.1
	TIGRIS_1_0_6RC2:1.4.6.1
	TIGRIS_1_0_6RC1:1.4.6.1
	TIGRIS_1_0_5:1.4
	TIGRIS_1_0_5RC6:1.4
	TIGRIS_1_0_5RC5:1.4
	TIGRIS_1_0_5RC4:1.4
	TIGRIS_1_0_5RC3:1.4
	TIGRIS_1_0_5RC2:1.4
	TIGRIS_1_0_5RC1:1.4
	TIGRIS_1_0_4:1.4
	TIGRIS_1_0_3:1.4
	TIGRIS_1_0_2:1.4
	TIGRIS_1_0_1:1.4
	TIGRIS_1_0:1.4.0.6
	TIGRIS_1_0_0:1.4
	TIGRIS_1_0_0_RC1:1.4.0.2
	dlr:1.1.1
	HELM_PEER_PORT_BRANCH:1.1.1.1;
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.21.20.37.57;	author ms;	state Exp;
branches;
next	1.4;

1.4
date	2001.03.27.13.20.16;	author ms;	state Exp;
branches
	1.4.6.1;
next	1.3;

1.3
date	2001.03.03.00.49.01;	author joshua;	state Exp;
branches;
next	1.2;

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

1.1
date	2001.02.13.14.23.35;	author ms;	state dead;
branches
	1.1.1.1
	1.1.2.1;
next	;

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

1.1.2.1
date	2001.02.13.14.23.35;	author ms;	state Exp;
branches;
next	;

1.4.6.1
date	2001.05.21.23.14.59;	author ms;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Removed WM templates in favor of Velocity templates.
@
text
@#set $summTerms="listName=$listName&by=$summarizeBy&count=$numTotal"

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">
<tr>
<TD class="Header" nowrap>Summarize List: <SPAN CLASS="ProjectNameHeader">$listInfo.listName</SPAN></TD>
</tr>
</table>
<hr size="1" noshade>
#parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/mail/InclSummarizeBy.wm"

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
<TR>
<TD  bgcolor="dddddd" class="PlainText">
<b>Description:</b> $description</b><br>

#if ($summarizeBy != "date") {
<span class="PlainText">
<b>Summaries:</b> $firstShown through $lastShown of $numTotal shown 
 | <A href="$res.encodeUrl("SummarizeList?$summTerms&paged=false&projectID=$currentProject.getID()")">Show All</A>
</span>

#if ($prevPageStart) {
<span class="PlainText">
 | <A href="$res.encodeUrl("SummarizeList?$summTerms&first=$prevPageStart")">
Previous Page:</A> ($prevPageStart through $prevPageEnd)
</SPAN>
}

<span class="PlainText">
#if ($nextPageStart) {
 | <A href="$res.encodeUrl("SummarizeList?$summTerms&first=$nextPageStart")">
Next Page:</A> ($nextPageStart through $nextPageEnd)
</SPAN>
}
}

</TD>
</TR>
<TR>
<TD>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR>
<TD COLSPAN="2"><HR SIZE="1" NOSHADE></TD>
</TR>
#if ($summarizeBy.equals("date")) {
<TR>
<TD width=120 CLASS="PlainText"><A href="$res.encodeUrl("BrowseList?listName=$listName&count=$listInfo.count")">
(all)</A>
</TD>
<TD CLASS="TypeWriterPlain">($listInfo.count messages)</TD>
</TR>
<TR>
<TD COLSPAN="2"><HR SIZE="1" NOSHADE></TD>
</TR>
}

#foreach $attr in $listSummary {
<TR>
<TD CLASS="PlainText">
<A href="$res.encodeUrl("BrowseList?listName=$listName&by=$attr.attrName&from=$attr.attrFrom&to=$attr.attrTo&first=1&count=$attr.count")">
$attr.attrValue</A>
</TD>
<TD CLASS="TypeWriterPlain">($attr.count messages)</TD>
</TR>
<TR>
<TD COLSPAN="2"><HR SIZE="1" NOSAHDE></TD>
</TR>
}

</TABLE>
</TD>
</TR>
<TR>
<TD CLASS="PlainText"><br><br>

#if ($myProperties.getProperty("org.tigris.eyebrowse.useLocalMail").equals("true")){
<a href="$res.encodeUrl("MailingListPost?listName=$listName")">
Post new message to list</a>
</td></tr>
<TR>
<TD CLASS="PlainText"><br><br>
$UserWarningMessage
</TD></TR>
}
</TABLE>

@


1.5
log
@used description from helm
@
text
@@


1.4
log
@Changed in eyebrowse the ability to lookup lists by both listId and by listName.
Greatly cleans up the coupling between the archives and helm IMO.

I also removed the useless projecID's in the templates.

This requires an update in eyebrowse also to compile.

note: SearchList is now a bit broken, will be fixed tomorow..

QA note. i tested this with two different lists, browsed by date author etc, it
showed no problems that dont already exist (date browsing).
@
text
@d14 1
a14 1
<b>Description:</b> $listInfo.listDescr</b><br>
@


1.4.6.1
log
@get description from helm
@
text
@d14 1
a14 1
<b>Description:</b> $description</b><br>
@


1.3
log
@cleaned up layout
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d1 1
a1 1
#set $summTerms="listId=$listInfo.listId&by=$summarizeBy&count=$numTotal"
d24 1
a24 1
 | <A href="$res.encodeUrl("SummarizeList?$summTerms&first=$prevPageStart&projectID=$currentProject.getID()")">
d31 1
a31 1
 | <A href="$res.encodeUrl("SummarizeList?$summTerms&first=$nextPageStart&projectID=$currentProject.getID()")">
d47 1
a47 1
<TD width=120 CLASS="PlainText"><A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&count=$listInfo.count&projectID=$currentProject.getID()")">
d60 1
a60 1
<A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&by=$attr.attrName&from=$attr.attrFrom&to=$attr.attrTo&first=1&count=$attr.count&projectID=$currentProject.getID()")">
d77 1
a77 1
<a href="$res.encodeUrl("MailingListPost?listId=$listInfo.listId&projectID=$currentProject.getID()")">
@


1.2
log
@These are the templates for the coorelating servlets for eyebrowse.
@
text
@d4 11
d16 5
a20 12
    <TD class="Header" nowrap>Summarize List: <SPAN CLASS="ProjectNameHeader">$listInfo.listName</SPAN></TD>  
<TR><TD CLASS="DevHeader">$listInfo.listDescr</TD></TR>
<TR><TD CLASS="PlainText">
Summarize by 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=date&projectID=$currentProject.getID()")">date</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=author&projectID=$currentProject.getID()")">author</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=subject&projectID=$currentProject.getID()")">subject</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=thread&projectID=$currentProject.getID()")">thread</A>
</TD></TR>

<TR><TD CLASS="PlainText">
<STRONG>Summarizing list by $summarizeBy</STRONG>
a21 3
#if ($summarizeBy != "date") {
Summaries $firstShown through $lastShown of $numTotal shown 
 (<A href="$res.encodeUrl("SummarizeList?$summTerms&paged=false&projectID=$currentProject.getID()")">show all</A> 
d23 4
a26 2
 * <A href="$res.encodeUrl("SummarizeList?$summTerms&first=$prevPageStart&projectID=$currentProject.getID()")">
previous page</A> ($prevPageStart through $prevPageEnd)
d28 2
d31 3
a33 2
 * <A href="$res.encodeUrl("SummarizeList?$summTerms&first=$nextPageStart&projectID=$currentProject.getID()")">
next page</A> ($nextPageStart through $nextPageEnd)
a34 1
)
d36 9
a44 3
</TD></TR>
<TR><TD>
<TABLE BORDER=0 CELLPADDING=1>
d46 8
a53 2
<TR><TD width=120 CLASS="PlainText"><A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&count=$listInfo.count&projectID=$currentProject.getID()")">
(all)</A></TD> <TD CLASS="TypeWriterPlain">($listInfo.count messages)</TD>
d58 2
a59 1
<TR><TD CLASS="PlainText">
d61 6
a66 2
$attr.attrValue</A></TD> <TD CLASS="TypeWriterPlain">($attr.count messages)</TD>

d69 1
d71 4
a74 2
</TD></TR>
<TR><TD CLASS="PlainText"><br><br>
d80 2
a81 1
<TR><TD CLASS="PlainText"><br><br>
@


1.1
log
@file EbSummarizeList.wm was initially added on branch HELM_PEER_PORT_BRANCH.
@
text
@d1 60
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@a0 60
#set $summTerms="listId=$listInfo.listId&by=$summarizeBy&count=$numTotal"

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">

    <TD class="Header" nowrap>Summarize List: <SPAN CLASS="ProjectNameHeader">$listInfo.listName</SPAN></TD>  
<TR><TD CLASS="DevHeader">$listInfo.listDescr</TD></TR>
<TR><TD CLASS="PlainText">
Summarize by 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=date&projectID=$currentProject.getID()")">date</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=author&projectID=$currentProject.getID()")">author</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=subject&projectID=$currentProject.getID()")">subject</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=thread&projectID=$currentProject.getID()")">thread</A>
</TD></TR>

<TR><TD CLASS="PlainText">
<STRONG>Summarizing list by $summarizeBy</STRONG>

#if ($summarizeBy != "date") {
Summaries $firstShown through $lastShown of $numTotal shown 
 (<A href="$res.encodeUrl("SummarizeList?$summTerms&paged=false&projectID=$currentProject.getID()")">show all</A> 
#if ($prevPageStart) {
 * <A href="$res.encodeUrl("SummarizeList?$summTerms&first=$prevPageStart&projectID=$currentProject.getID()")">
previous page</A> ($prevPageStart through $prevPageEnd)
}
#if ($nextPageStart) {
 * <A href="$res.encodeUrl("SummarizeList?$summTerms&first=$nextPageStart&projectID=$currentProject.getID()")">
next page</A> ($nextPageStart through $nextPageEnd)
}
)
}
</TD></TR>
<TR><TD>
<TABLE BORDER=0 CELLPADDING=1>
#if ($summarizeBy.equals("date")) {
<TR><TD width=120 CLASS="PlainText"><A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&count=$listInfo.count&projectID=$currentProject.getID()")">
(all)</A></TD> <TD CLASS="TypeWriterPlain">($listInfo.count messages)</TD>
</TR>
}

#foreach $attr in $listSummary {
<TR><TD CLASS="PlainText">
<A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&by=$attr.attrName&from=$attr.attrFrom&to=$attr.attrTo&first=1&count=$attr.count&projectID=$currentProject.getID()")">
$attr.attrValue</A></TD> <TD CLASS="TypeWriterPlain">($attr.count messages)</TD>

</TR>
}
</TABLE>
</TD></TR>
<TR><TD CLASS="PlainText"><br><br>

#if ($myProperties.getProperty("org.tigris.eyebrowse.useLocalMail").equals("true")){
<a href="$res.encodeUrl("MailingListPost?listId=$listInfo.listId&projectID=$currentProject.getID()")">
Post new message to list</a>
</td></tr>
<TR><TD CLASS="PlainText"><br><br>
$UserWarningMessage
</TD></TR>
}
</TABLE>

@


1.1.2.1
log
@Added templates for eyebrowse servlets to helm
@
text
@a0 60
#set $summTerms="listId=$listInfo.listId&by=$summarizeBy&count=$numTotal"

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">

    <TD class="Header" nowrap>Summarize List: <SPAN CLASS="ProjectNameHeader">$listInfo.listName</SPAN></TD>  
<TR><TD CLASS="DevHeader">$listInfo.listDescr</TD></TR>
<TR><TD CLASS="PlainText">
Summarize by 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=date&projectID=$currentProject.getID()")">date</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=author&projectID=$currentProject.getID()")">author</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=subject&projectID=$currentProject.getID()")">subject</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=thread&projectID=$currentProject.getID()")">thread</A>
</TD></TR>

<TR><TD CLASS="PlainText">
<STRONG>Summarizing list by $summarizeBy</STRONG>

#if ($summarizeBy != "date") {
Summaries $firstShown through $lastShown of $numTotal shown 
 (<A href="$res.encodeUrl("SummarizeList?$summTerms&paged=false&projectID=$currentProject.getID()")">show all</A> 
#if ($prevPageStart) {
 * <A href="$res.encodeUrl("SummarizeList?$summTerms&first=$prevPageStart&projectID=$currentProject.getID()")">
previous page</A> ($prevPageStart through $prevPageEnd)
}
#if ($nextPageStart) {
 * <A href="$res.encodeUrl("SummarizeList?$summTerms&first=$nextPageStart&projectID=$currentProject.getID()")">
next page</A> ($nextPageStart through $nextPageEnd)
}
)
}
</TD></TR>
<TR><TD>
<TABLE BORDER=0 CELLPADDING=1>
#if ($summarizeBy.equals("date")) {
<TR><TD width=120 CLASS="PlainText"><A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&count=$listInfo.count&projectID=$currentProject.getID()")">
(all)</A></TD> <TD CLASS="TypeWriterPlain">($listInfo.count messages)</TD>
</TR>
}

#foreach $attr in $listSummary {
<TR><TD CLASS="PlainText">
<A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&by=$attr.attrName&from=$attr.attrFrom&to=$attr.attrTo&first=1&count=$attr.count&projectID=$currentProject.getID()")">
$attr.attrValue</A></TD> <TD CLASS="TypeWriterPlain">($attr.count messages)</TD>

</TR>
}
</TABLE>
</TD></TR>
<TR><TD CLASS="PlainText"><br><br>

#if ($myProperties.getProperty("org.tigris.eyebrowse.useLocalMail").equals("true")){
<a href="$res.encodeUrl("MailingListPost?listId=$listInfo.listId&projectID=$currentProject.getID()")">
Post new message to list</a>
</td></tr>
<TR><TD CLASS="PlainText"><br><br>
$UserWarningMessage
</TD></TR>
}
</TABLE>

@

