Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
923 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
||
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
||
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
||
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
||
958 | dev | 6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
924 | dev | 7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
923 | dev | 8 | <html> |
9 | |||
10 | <head> |
||
11 | <meta http-equiv="expires" content="0"> |
||
924 | dev | 12 | <title><bean:message key="ak.hostadmiral.page.user.view.title" /></title> |
958 | dev | 13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
923 | dev | 14 | </head> |
15 | |||
16 | <body> |
||
17 | |||
924 | dev | 18 | <h1><bean:message key="ak.hostadmiral.page.user.view.title" /></h1> |
923 | dev | 19 | |
958 | dev | 20 | <strutsx:errorsIterator id="errors" /> |
21 | <strutsx:notEmpty name="errors"> |
||
22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
||
23 | <ul> |
||
24 | <logic:iterate name="errors" id="error"> |
||
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
26 | </logic:iterate> |
||
27 | </ul> |
||
28 | </div> |
||
29 | </strutsx:notEmpty> |
||
923 | dev | 30 | |
31 | <table border=1> |
||
32 | <tr> |
||
924 | dev | 33 | <th><bean:message key="ak.hostadmiral.page.user.view.login" /></th> |
923 | dev | 34 | <td><bean:write name="u" property="login" /></td> |
35 | </tr> |
||
36 | <tr> |
||
924 | dev | 37 | <th><bean:message key="ak.hostadmiral.page.user.view.boss" /></th> |
923 | dev | 38 | <td> |
39 | <logic:present name="u" property="boss"> |
||
40 | <bean:write name="u" property="boss.login" /> |
||
41 | </logic:present> |
||
42 | <logic:notPresent name="u" property="boss"> |
||
924 | dev | 43 | <bean:message key="ak.hostadmiral.page.user.view.boss.empty" /> |
923 | dev | 44 | </logic:notPresent> |
45 | </td> |
||
46 | </tr> |
||
47 | <tr> |
||
924 | dev | 48 | <th><bean:message key="ak.hostadmiral.page.user.view.superuser" /></th> |
923 | dev | 49 | <td> |
50 | <logic:equal name="u" property="superuser" value="true"> |
||
924 | dev | 51 | <bean:message key="ak.hostadmiral.page.user.view.superuser.true" /> |
923 | dev | 52 | </logic:equal> |
53 | <logic:notEqual name="u" property="superuser" value="true"> |
||
924 | dev | 54 | <bean:message key="ak.hostadmiral.page.user.view.superuser.false" /> |
923 | dev | 55 | </logic:notEqual> |
56 | </td> |
||
57 | </tr> |
||
58 | <tr> |
||
924 | dev | 59 | <th><bean:message key="ak.hostadmiral.page.user.view.enabled" /></th> |
923 | dev | 60 | <td> |
61 | <logic:equal name="u" property="enabled" value="true"> |
||
924 | dev | 62 | <bean:message key="ak.hostadmiral.page.user.view.enabled.true" /> |
923 | dev | 63 | </logic:equal> |
64 | <logic:notEqual name="u" property="enabled" value="true"> |
||
924 | dev | 65 | <bean:message key="ak.hostadmiral.page.user.view.enabled.false" /> |
923 | dev | 66 | </logic:notEqual> |
67 | </td> |
||
68 | </tr> |
||
69 | <tr> |
||
924 | dev | 70 | <th><bean:message key="ak.hostadmiral.page.user.view.comment" /></th> |
923 | dev | 71 | <td><bean:write name="u" property="comment" /> </td> |
72 | </tr> |
||
73 | <tr> |
||
74 | <td colspan=2> |
||
924 | dev | 75 | <backpath:backlink><bean:message key="ak.hostadmiral.page.user.view.back" /></backpath:backlink> |
923 | dev | 76 | </td> |
77 | </tr> |
||
78 | </table> |
||
79 | |||
949 | dev | 80 | <p> |
81 | <backpath:link action="/user/logins" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.view.logins" /></backpath:link> |
||
82 | </p> |
||
83 | |||
923 | dev | 84 | </body> |
85 | |||
86 | </html> |