show.gsp
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:3k
-
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="layout" content="main" />
- <title>User Profile</title>
- </head>
- <body>
- <div class="nav">
- <span class="menuButton"><a href="${createLinkTo(dir:'')}"><g:message code="home" default="Home" /></a></span>
- </div>
-
- <div class="body">
- <h1><g:message code="register.userProfile" default="User Profile" /></h1>
- <g:if test="${flash.message}">
- <div class="message">${flash.message}</div>
- </g:if>
- <div class="dialog">
- <table>
- <tbody>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="register.loginname" default="Login Name:" /></td>
- <td valign="top" class="value">
- ${person.username?.encodeAsHTML()}
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="register.fullname" default="Full Name:" /></td>
- <td valign="top" class="value">
- ${person.userRealName?.encodeAsHTML()}
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="register.enabled" default="Enabled:" /></td>
- <td valign="top" class="value">
- ${person.enabled?.encodeAsHTML()}
- </td>
- </tr>
- <tr class="prop">
- <td valign="top" class="name"><g:message code="register.email" default="Email:" /></td>
- <td valign="top" class="value">
- ${person.email?.encodeAsHTML()}
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="register.showEmail" default="Show Email:" /></td>
- <td valign="top" class="value">
- ${person.email_show?.encodeAsHTML()}
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="" default="Roles:" /></td>
- <td valign="top" class="value">
- <ul>
- <g:collect in="${person.authorities}" expr="${it.authority}">
- <li>${it?.substring(5)?.toLowerCase()}</li>
- </g:collect>
- </ul>
- </td>
- </tr>
-
- </tbody>
- </table>
- </div>
-
- <div class="buttons">
- <g:form controller="register">
- <input type="hidden" name="id" value="${person?.id}" />
- <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
- </g:form>
- </div>
-
- </div>
- </body>
- </html>