Ajout de la méthode d’upload par glisser / déposer sur le portail.
[Plinn.git] / skins / generic / pending_members.pt
1 <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/master">
2
3 <head>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
5 <title>Pending Members</title>
6 </head>
7
8 <body tal:omit-tag="" metal:fill-slot="main_no_tabs" i18n:domain="plinn">
9 <h2 i18n:translate="">Review members registration</h2>
10 <form action="." method="post" tal:attributes="action string:${portal_url}/member_registration_modify">
11 <table class="listing" cellspacing="0">
12 <tr>
13 <th i18n:translate="">Name</th>
14 <th i18n:translate="">Email</th>
15 <th><br /></th>
16 </tr>
17 <tbody tal:repeat="m python:mtool.getMembers([ b.getId for b in here.portal_catalog(review_state='m_pending') ])" tal:omit-tag="">
18 <tr tal:attributes="class python:repeat['m'].odd() and 'odd' or 'even'">
19 <td>
20 <input type="hidden" name="members.id:records" tal:attributes="value m/id" />
21 <label>
22 <input type="checkbox" name="members.checked:records" checked="checked" tal:attributes="value m/id" />
23 <span tal:replace="python:m.getMemberFullName(nameBefore=0)">Benoît PIN</span>
24 </label>
25 </td>
26 <td>
27 <a href="." tal:attributes="href string:mailto:${m/email}" tal:content="m/email">email</a>
28 </td>
29 <td>
30 <input type="submit" name="members.reject:records" value="Reject" i18n:attributes="value" />
31 </td>
32 </tr>
33 </tbody>
34 </table>
35 <p><input type="submit" name="register" value="Register" i18n:attributes="value" /></p>
36 </form>
37 </body>
38
39 </html>