Subversion Repositories general

Rev

Rev 949 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 949 Rev 950
1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
2
<%@ taglib uri="/WEB-INF/struts-bean.tld"      prefix="bean"     %>
2
<%@ taglib uri="/WEB-INF/struts-bean.tld"      prefix="bean"     %>
3
<%@ taglib uri="/WEB-INF/struts-logic.tld"     prefix="logic"    %>
3
<%@ taglib uri="/WEB-INF/struts-logic.tld"     prefix="logic"    %>
4
<%@ taglib uri="/WEB-INF/struts-html.tld"      prefix="html"     %>
4
<%@ taglib uri="/WEB-INF/struts-html.tld"      prefix="html"     %>
5
<%@ taglib uri="/WEB-INF/ak-backpath.tld"      prefix="backpath" %>
5
<%@ taglib uri="/WEB-INF/ak-backpath.tld"      prefix="backpath" %>
6
<%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core"     %>
6
<%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core"     %>
7
<html>
7
<html>
8
 
8
 
9
<head>
9
<head>
10
	<meta http-equiv="expires" content="0">
10
	<meta http-equiv="expires" content="0">
11
	<title><bean:message key="ak.hostadmiral.page.user.list.title" /></title>
11
	<title><bean:message key="ak.hostadmiral.page.user.list.title" /></title>
12
</head>
12
</head>
13
 
13
 
14
<body>
14
<body>
15
 
15
 
16
<h1><bean:message key="ak.hostadmiral.page.user.list.title" /></h1>
16
<h1><bean:message key="ak.hostadmiral.page.user.list.title" /></h1>
17
 
17
 
18
<html:errors/>
18
<html:errors/>
19
 
19
 
20
<table border=1>
20
<table border=1>
21
	<tr>
21
	<tr>
22
		<th><bean:message key="ak.hostadmiral.page.user.list.login" /></th>
22
		<th><bean:message key="ak.hostadmiral.page.user.list.login" /></th>
23
		<th><bean:message key="ak.hostadmiral.page.user.list.boss" /></th>
23
		<th><bean:message key="ak.hostadmiral.page.user.list.boss" /></th>
24
		<th><bean:message key="ak.hostadmiral.page.user.list.superuser" /></th>
24
		<th><bean:message key="ak.hostadmiral.page.user.list.superuser" /></th>
25
		<th><bean:message key="ak.hostadmiral.page.user.list.enabled" /></th>
25
		<th><bean:message key="ak.hostadmiral.page.user.list.enabled" /></th>
26
		<th>&nbsp;</th>
26
		<th>&nbsp;</th>
27
		<th>&nbsp;</th>
27
		<th>&nbsp;</th>
28
	</tr>
28
	</tr>
29
 
29
 
30
<logic:iterate name="users" id="u">
30
<logic:iterate name="users" id="u">
31
	<tr>
31
	<tr>
32
		<td><bean:write name="u" property="login" /></td>
32
		<td><bean:write name="u" property="login" /></td>
33
		<td>
33
		<td>
34
			<logic:present name="u" property="boss">
34
			<logic:present name="u" property="boss">
35
				<bean:write name="u" property="boss.login" />
35
				<bean:write name="u" property="boss.login" />
36
			</logic:present>
36
			</logic:present>
37
			<logic:notPresent name="u" property="boss">
37
			<logic:notPresent name="u" property="boss">
38
				&nbsp;
38
				&nbsp;
39
			</logic:notPresent>
39
			</logic:notPresent>
40
		</td>
40
		</td>
41
		<td>
41
		<td>
42
			<logic:equal name="u" property="superuser" value="true">x</logic:equal>
42
			<logic:equal name="u" property="superuser" value="true">x</logic:equal>
43
			<logic:notEqual name="u" property="superuser" value="true">&nbsp;</logic:notEqual>
43
			<logic:notEqual name="u" property="superuser" value="true">&nbsp;</logic:notEqual>
44
		</td>
44
		</td>
45
		<td>
45
		<td>
46
			<logic:equal name="u" property="enabled" value="true">x</logic:equal>
46
			<logic:equal name="u" property="enabled" value="true">x</logic:equal>
47
			<logic:notEqual name="u" property="enabled" value="true">&nbsp;</logic:notEqual>
47
			<logic:notEqual name="u" property="enabled" value="true">&nbsp;</logic:notEqual>
48
		</td>
48
		</td>
49
		<td>
49
		<td>
50
			<core:editable name="u">
50
			<core:editable name="u">
51
				<backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.edit" /></backpath:link>
51
				<backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.edit" /></backpath:link>
52
			</core:editable>
52
			</core:editable>
53
			<core:notEditable name="u">
53
			<core:notEditable name="u">
-
 
54
				<core:rights name="u" method="partEditableBy">
-
 
55
					<backpath:link action="/user/partedit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.partedit" /></backpath:link>
-
 
56
				</core:rights>
-
 
57
				<core:noRights name="u" method="partEditableBy">
54
				<core:viewable name="u">
58
					<core:viewable name="u">
55
					<backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.view" /></backpath:link>
59
						<backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.view" /></backpath:link>
56
				</core:viewable>
60
					</core:viewable>
57
				<core:notViewable name="u">
61
					<core:notViewable name="u">
58
					&nbsp;
62
						&nbsp;
59
				</core:notViewable>
63
					</core:notViewable>
-
 
64
				</core:noRights>
60
			</core:notEditable>
65
			</core:notEditable>
61
		</td>
66
		</td>
62
		<td>
67
		<td>
63
			<core:deleteable name="u">
68
			<core:deleteable name="u">
64
				<backpath:link action="/user/deleting" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.delete" /></backpath:link>
69
				<backpath:link action="/user/deleting" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.delete" /></backpath:link>
65
			</core:deleteable>
70
			</core:deleteable>
66
			<core:notDeleteable name="u">
71
			<core:notDeleteable name="u">
67
				&nbsp;
72
				&nbsp;
68
			</core:notDeleteable>
73
			</core:notDeleteable>
69
		</td>
74
		</td>
70
	</tr>
75
	</tr>
71
</logic:iterate>
76
</logic:iterate>
72
</table>
77
</table>
73
 
78
 
74
<backpath:link action="/user/edit"><bean:message key="ak.hostadmiral.page.user.list.add" /></backpath:link>
79
<backpath:link action="/user/edit"><bean:message key="ak.hostadmiral.page.user.list.add" /></backpath:link>
75
<br>
80
<br>
76
<backpath:link action="/user/failedLogins"><bean:message key="ak.hostadmiral.page.user.list.logins.failed" /></backpath:link>
81
<backpath:link action="/user/failedLogins"><bean:message key="ak.hostadmiral.page.user.list.logins.failed" /></backpath:link>
77
<br>
82
<br>
78
<backpath:backlink><bean:message key="ak.hostadmiral.page.user.list.back" /></backpath:backlink>
83
<backpath:backlink><bean:message key="ak.hostadmiral.page.user.list.back" /></backpath:backlink>
79
 
84
 
80
</body>
85
</body>
81
 
86
 
82
</html>
87
</html>