Permalink
Browse files

show subscribers count on top of listing

  • Loading branch information...
1 parent f3c4aa5 commit 0f5a3d97a476e95a61a0615512156a7380629283 @simahawk committed Feb 8, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 Products/EasyNewsletter/browser/enl_subscribers_view.pt
@@ -22,6 +22,7 @@
</h1>
<div tal:define="subscribers python:view.subscribers();
+ subscribers_number python:len(subscribers);
Batch python:modules['Products.CMFPlone'].Batch;
b_start python:request.get('b_start',0);
b_size request/b_size|python:30;
@@ -67,6 +68,16 @@
<form method="post" tal:attributes="action view/__name__">
<table class="listing" summary="Subscriber Listing">
+ <tr>
+ <th colspan="7">
+ <span class="total" i18n:translate="">
+ There are
+ <span i18n:name="subscribers_number"
+ tal:content="subscribers_number" />
+ subscribers
+ </span>
+ </th>
+ </tr>
<tr>
<th>
<input id="selectall" type="checkbox" name="selectall" />

0 comments on commit 0f5a3d9

Please sign in to comment.