Line | |
---|
1 | <%@ page import="intient.nimble.service.ProfileService" %> |
---|
2 | |
---|
3 | <div class="left"> |
---|
4 | |
---|
5 | <n:hasPermission target="${ProfileService.editPermission + profile.owner.id}"> |
---|
6 | <div id="profilephoto" class="photo"> |
---|
7 | <g:link action="editphoto" id="${user.id}" class=""><n:photo id="${user.id}" size="180"/></g:link> |
---|
8 | </div> |
---|
9 | </n:hasPermission> |
---|
10 | |
---|
11 | <n:lacksPermission target="${ProfileService.editPermission + profile.owner.id}"> |
---|
12 | <div id="profilephoto" class="photo"> |
---|
13 | <n:photo id="${user.id}" size="180"/> |
---|
14 | </div> |
---|
15 | </n:lacksPermission> |
---|
16 | |
---|
17 | <g:if test="${profile.bio != null}"> |
---|
18 | <div class="bio">${profile.bio}</div> |
---|
19 | </g:if> |
---|
20 | |
---|
21 | <n:hasPermission target="${ProfileService.editPermission + profile.owner.id}"> |
---|
22 | <div class="controls"> |
---|
23 | <ul> |
---|
24 | <li> |
---|
25 | <g:link action="editphoto" id="${user.id}" class="icon icon_image">Change Photo</g:link> |
---|
26 | </li> |
---|
27 | <li> |
---|
28 | <g:link action="editaccount" id="${user.id}" class="icon icon_user_edit">Edit Account Details</g:link> |
---|
29 | </li> |
---|
30 | <li> |
---|
31 | <g:link action="editcontact" id="${user.id}" class="icon icon_phone">Edit Contact Details</g:link> |
---|
32 | </li> |
---|
33 | <!-- |
---|
34 | <li> |
---|
35 | <g:link action="editsocial" id="${user.id}" class="icon icon_transmit">Edit Social Services</g:link> |
---|
36 | </li> |
---|
37 | --> |
---|
38 | </ul> |
---|
39 | </div> |
---|
40 | </n:hasPermission> |
---|
41 | |
---|
42 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.