Line | |
---|
1 | <div class="miniprofile"> |
---|
2 | |
---|
3 | <div class="intro"> |
---|
4 | <table> |
---|
5 | <tbody> |
---|
6 | <tr> |
---|
7 | <td> |
---|
8 | <n:photo id="${user.id}" size="50"/> |
---|
9 | </td> |
---|
10 | <td> |
---|
11 | <g:render template="/templates/nimble/profile/banner" model="[user:user, profile:profile, clear:false]" /> |
---|
12 | </td> |
---|
13 | </tr> |
---|
14 | </tbody> |
---|
15 | </table> |
---|
16 | </div> |
---|
17 | |
---|
18 | <div class="overview"> |
---|
19 | <table> |
---|
20 | <tbody> |
---|
21 | <tr> |
---|
22 | <th>Username</th> |
---|
23 | <td>${user.username.encodeAsHTML()}</td> |
---|
24 | </tr> |
---|
25 | |
---|
26 | <g:if test="${user.profile.nickName}"> |
---|
27 | <tr> |
---|
28 | <th>Nick Name</th> |
---|
29 | <td>${user.profile.nickName.encodeAsHTML()}</td> |
---|
30 | </tr> |
---|
31 | </g:if> |
---|
32 | |
---|
33 | <g:if test="${user.profile.email}"> |
---|
34 | <tr> |
---|
35 | <th>Email Address</th> |
---|
36 | <td><a href="mailto:${user.profile.email.encodeAsHTML()}" class="icon icon_email">${user.profile.email.encodeAsHTML()}</a></td> |
---|
37 | </tr> |
---|
38 | </g:if> |
---|
39 | |
---|
40 | </tbody> |
---|
41 | </table> |
---|
42 | <g:link controller="profile" action="show" id="${user.id}">View full profile</g:link> |
---|
43 | </div> |
---|
44 | |
---|
45 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.