1 <% val id = Web.stoi ($"id");
2 val user = Init.lookupUser id;
4 @header[("title", [#name user])] %>
7 <tr> <td>Member:</td> <td><% #name user %></td> </tr>
8 <tr> <td>Real name:</td> <td><% Web.html (#rname user) %></td> </tr>
9 <tr> <td>Hcoop e-mail:</td> <td><a href="mailto:<% #name user %><% Init.emailSuffix %>"><tt><% #name user %><% Init.emailSuffix %></tt></a></td> </tr>
10 <tr> <td>Joined:</td> <td><% #joined user %></td> </tr>
11 <tr> <td>Locations:</td> <td><%
13 foreach loc in Location.userLocations id do
19 %><a href="location?id=<% #id loc %>"><% Web.html (#name loc) %></a><%
22 <% val links = Link.listUserLinks id;
28 <tr> <td><b>Hosted sites</b></td> </tr>
30 <% foreach link in links do %>
31 <tr> <td></td> <td><b><a href="<% Web.html (#url link) %>"><% Web.html (#title link) %></a></b><%
32 if #descr link <> "" then %>: <% Web.html (#descr link) end
37 val level = iff Group.inGroupName "contact" then Contact.ADMINS else Contact.MEMBERS;
39 val contacts = Contact.listUserContacts (id, level);
45 <tr> <td><b>Contact information</b></td> </tr>
47 <% foreach (kind, cont) in contacts do %>
48 <tr> <td align="right" valign="top"><b><% Web.html (#name kind) %></b>:</td>
49 <td><% Contact.format (kind, cont) %></td> </tr>
55 <p><a href="apps?show=<% id %>">Show archived membership application</a></p>