current
Last change
on this file since fcf0ef3 was
39b1497,
checked in by borja <borja@…>, 5 years ago
|
Replaced user_id leftovers with uid
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | <html xmlns="http://www.w3.org/1999/xhtml" |
---|
2 | xml:lang="en" |
---|
3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
---|
4 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
---|
5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
---|
6 | i18n:domain="OpenWorkouts" |
---|
7 | metal:use-macro="load: base.pt" |
---|
8 | tal:attributes="lang request.locale_name"> |
---|
9 | |
---|
10 | <metal:head-title metal:fill-slot="head-title"> |
---|
11 | <tal:t i18n:translate="">User list</tal:t> |
---|
12 | </metal:head-title> |
---|
13 | |
---|
14 | <metal:title metal:fill-slot="title"> |
---|
15 | <tal:t i18n:translate="">user list</tal:t> |
---|
16 | </metal:title> |
---|
17 | |
---|
18 | <metal:content metal:fill-slot="content"> |
---|
19 | <table id="users"> |
---|
20 | <thead> |
---|
21 | <tr> |
---|
22 | <th i18n:translate="">Name</th> |
---|
23 | <th i18n:translate="">E-mail</th> |
---|
24 | <th i18n:translate="">Workouts</th> |
---|
25 | </tr> |
---|
26 | </thead> |
---|
27 | <tal:r tal:repeat="user users"> |
---|
28 | <tr tal:attributes="id 'user-' + str(user.uid)"> |
---|
29 | <td>${user.fullname}</td> |
---|
30 | <td>${user.email}</td> |
---|
31 | <td>${user.num_workouts}</td> |
---|
32 | </tr> |
---|
33 | </tal:r> |
---|
34 | </table> |
---|
35 | |
---|
36 | <p> |
---|
37 | Add a user on the |
---|
38 | <a href="adduser">Add User Form</a> |
---|
39 | </p> |
---|
40 | |
---|
41 | </metal:content> |
---|
42 | |
---|
43 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.