1 | <%inherit file="/base.mako"/> |
---|
2 | <%namespace file="/message.mako" import="render_msg" /> |
---|
3 | |
---|
4 | %if message: |
---|
5 | ${render_msg( message, 'done' )} |
---|
6 | %endif |
---|
7 | |
---|
8 | <div class="toolForm"> |
---|
9 | <div class="toolFormBody"> |
---|
10 | <h3 align="center">User Registrations for ${month_label} ${year_label}</h3> |
---|
11 | <h4 align="center">Click Day to see user registrations for that day</h4> |
---|
12 | <table align="center" width="60%" class="colored"> |
---|
13 | %if len( users ) == 0: |
---|
14 | <tr><td colspan="2">There are no user registrations for ${month_label} ${year_label}</td></tr> |
---|
15 | %else: |
---|
16 | <tr class="header"> |
---|
17 | <td>Day</td> |
---|
18 | <td>New Registrations</td> |
---|
19 | </tr> |
---|
20 | <% ctr = 0 %> |
---|
21 | %for user in users: |
---|
22 | %if ctr % 2 == 1: |
---|
23 | <tr class="odd_row"> |
---|
24 | %else: |
---|
25 | <tr class="tr"> |
---|
26 | %endif |
---|
27 | <td><a href="${h.url_for( controller='users', action='specified_date', specified_date=user[0] )}">${user[3]}, ${month_label} ${user[1]}, ${year_label}</a></td> |
---|
28 | <td>${user[2]}</td> |
---|
29 | </tr> |
---|
30 | <% ctr += 1 %> |
---|
31 | %endfor |
---|
32 | %endif |
---|
33 | </table> |
---|
34 | </div> |
---|
35 | </div> |
---|