Subversion Repositories general

Rev

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

Rev 913 Rev 914
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/hostcaptain-core.tld" prefix="core"     %>
6
<%@ taglib uri="/WEB-INF/hostcaptain-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.hostcaptain.page.user.system.list.title" /></title>
11
	<title><bean:message key="ak.hostcaptain.page.user.system.list.title" /></title>
12
</head>
12
</head>
13
 
13
 
14
<body>
14
<body>
15
 
15
 
16
<h1><bean:message key="ak.hostcaptain.page.user.system.list.title" /></h1>
16
<h1><bean:message key="ak.hostcaptain.page.user.system.list.title" /></h1>
17
 
17
 
18
<html:errors/>
18
<html:errors/>
19
 
19
 
20
<table>
20
<table>
21
	<tr>
21
	<tr>
22
		<th><bean:message key="ak.hostcaptain.page.user.system.list.uid" /></th>
22
		<th><bean:message key="ak.hostcaptain.page.user.system.list.uid" /></th>
23
		<th><bean:message key="ak.hostcaptain.page.user.system.list.name" /></th>
23
		<th><bean:message key="ak.hostcaptain.page.user.system.list.name" /></th>
24
		<th><bean:message key="ak.hostcaptain.page.user.system.list.owner" /></th>
24
		<th><bean:message key="ak.hostcaptain.page.user.system.list.owner" /></th>
25
		<th><bean:message key="ak.hostcaptain.page.user.system.list.enabled" /></th>
25
		<th><bean:message key="ak.hostcaptain.page.user.system.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="uid" /></td>
32
		<td><bean:write name="u" property="uid" /></td>
33
		<td><bean:write name="u" property="name" /></td>
33
		<td><bean:write name="u" property="name" /></td>
34
		<td>
34
		<td>
35
			<logic:present name="u" property="owner">
35
			<logic:present name="u" property="owner">
36
				<bean:write name="u" property="owner.login" />
36
				<bean:write name="u" property="owner.login" />
37
			</logic:present>
37
			</logic:present>
38
		</td>
38
		</td>
39
		<td>
39
		<td>
40
			<logic:equal name="u" property="enabled" value="true">x</logic:equal>
40
			<logic:equal name="u" property="enabled" value="true">x</logic:equal>
41
			<logic:notEqual name="u" property="enabled" value="true">&nbsp;</logic:notEqual>
41
			<logic:notEqual name="u" property="enabled" value="true">&nbsp;</logic:notEqual>
42
		</td>
42
		</td>
-
 
43
		<td>
-
 
44
			<core:editable name="u">
43
		<td><backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.system.list.edit" /></backpath:link></td>
45
				<backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.system.list.edit" /></backpath:link>
-
 
46
			</core:editable>
-
 
47
			<core:notEditable name="u">
-
 
48
				<core:viewable name="u">
-
 
49
					<backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.system.list.view" /></backpath:link>
-
 
50
				</core:viewable>
-
 
51
				<core:notViewable name="u">
-
 
52
					&nbsp;
-
 
53
				</core:notViewable>
-
 
54
			</core:notEditable>
-
 
55
		</td>
-
 
56
		<td>
-
 
57
			<core:deleteable name="u">
44
		<td><backpath:link action="/user/system/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.system.list.delete" /></backpath:link></td>
58
				<backpath:link action="/user/system/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.system.list.delete" /></backpath:link>
-
 
59
				</core:deleteable>
-
 
60
			<core:notDeleteable name="u">
-
 
61
				&nbsp;
-
 
62
			</core:notDeleteable>
-
 
63
		</td>
45
	</tr>
64
	</tr>
46
</logic:iterate>
65
</logic:iterate>
47
</table>
66
</table>
48
 
67
 
-
 
68
<logic:equal name="allowedToCreate" value="true">
49
<backpath:link action="/user/system/edit"><bean:message key="ak.hostcaptain.page.user.system.list.add" /></backpath:link>
69
	<backpath:link action="/user/system/edit"><bean:message key="ak.hostcaptain.page.user.system.list.add" /></backpath:link>
-
 
70
</logic:equal>
-
 
71
 
50
<br>
72
<br>
51
<backpath:backlink><bean:message key="ak.hostcaptain.page.user.system.list.back" /></backpath:backlink>
73
<backpath:backlink><bean:message key="ak.hostcaptain.page.user.system.list.back" /></backpath:backlink>
52
 
74
 
53
</body>
75
</body>
54
 
76
 
55
</html>
77
</html>