Subversion Repositories general

Rev

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

Rev 961 Rev 1012
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/ak-strutsx.tld"       prefix="strutsx"  %>
6
<%@ taglib uri="/WEB-INF/ak-strutsx.tld"       prefix="strutsx"  %>
7
<%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core"     %>
7
<%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core"     %>
8
<html>
8
<html>
9
 
9
 
10
<head>
10
<head>
11
	<meta http-equiv="expires" content="0">
11
	<meta http-equiv="expires" content="0">
12
	<title><bean:message key="ak.hostadmiral.page.user.system.list.title" /></title>
12
	<title><bean:message key="ak.hostadmiral.page.user.system.list.title" /></title>
13
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
13
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
14
</head>
14
</head>
15
 
15
 
16
<body>
16
<body>
17
 
17
 
18
<h1><bean:message key="ak.hostadmiral.page.user.system.list.title" /></h1>
18
<h1><bean:message key="ak.hostadmiral.page.user.system.list.title" /></h1>
19
 
19
 
20
<strutsx:errorsIterator id="errors" />
20
<strutsx:errorsIterator id="errors" />
21
<strutsx:notEmpty name="errors">
21
<strutsx:notEmpty name="errors">
22
	<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
22
	<div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />:
23
		<ul>
23
		<ul>
24
		<logic:iterate name="errors" id="error">
24
		<logic:iterate name="errors" id="error">
25
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
25
			<li><strutsx:message name="error" property="key" valuesProperty="values" /></li>
26
		</logic:iterate>
26
		</logic:iterate>
27
		</ul>
27
		</ul>
28
	</div>
28
	</div>
29
</strutsx:notEmpty>
29
</strutsx:notEmpty>
30
 
30
 
31
<table border=1>
31
<table border=1>
32
	<tr>
32
	<tr>
33
		<th><bean:message key="ak.hostadmiral.page.user.system.list.uid" /></th>
33
		<th><bean:message key="ak.hostadmiral.page.user.system.list.uid" /></th>
34
		<th><bean:message key="ak.hostadmiral.page.user.system.list.name" /></th>
34
		<th><bean:message key="ak.hostadmiral.page.user.system.list.name" /></th>
35
		<th><bean:message key="ak.hostadmiral.page.user.system.list.owner" /></th>
35
		<th><bean:message key="ak.hostadmiral.page.user.system.list.owner" /></th>
36
		<th><bean:message key="ak.hostadmiral.page.user.system.list.enabled" /></th>
36
		<th><bean:message key="ak.hostadmiral.page.user.system.list.enabled" /></th>
37
		<th>&nbsp;</th>
37
		<th>&nbsp;</th>
38
		<th>&nbsp;</th>
38
		<th>&nbsp;</th>
39
	</tr>
39
	</tr>
40
 
40
 
41
<logic:iterate name="users" id="u">
41
<logic:iterate name="users" id="u">
42
	<tr>
42
	<tr>
43
		<td><bean:write name="u" property="uid" /></td>
43
		<td><bean:write name="u" property="uid" /></td>
44
		<td><bean:write name="u" property="name" /></td>
44
		<td><bean:write name="u" property="name" /></td>
45
		<td>
45
		<td>
46
			<logic:present name="u" property="owner">
46
			<logic:present name="u" property="owner">
47
				<bean:write name="u" property="owner.login" />
47
				<bean:write name="u" property="owner.login" />
48
			</logic:present>
48
			</logic:present>
49
			<logic:notPresent name="u" property="owner">
49
			<logic:notPresent name="u" property="owner">
50
				&nbsp;
50
				&nbsp;
51
			</logic:notPresent>
51
			</logic:notPresent>
52
		</td>
52
		</td>
53
		<td>
53
		<td>
54
			<logic:equal name="u" property="enabled" value="true">x</logic:equal>
54
			<logic:equal name="u" property="enabled" value="true">x</logic:equal>
55
			<logic:notEqual name="u" property="enabled" value="true">&nbsp;</logic:notEqual>
55
			<logic:notEqual name="u" property="enabled" value="true">&nbsp;</logic:notEqual>
56
		</td>
56
		</td>
57
		<td>
57
		<td>
58
			<core:editable name="u">
58
			<core:editable name="u">
59
				<backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.edit" /></backpath:link>
59
				<backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.edit" /></backpath:link>
60
			</core:editable>
60
			</core:editable>
61
			<core:notEditable name="u">
61
			<core:notEditable name="u">
62
				<core:viewable name="u">
62
				<core:viewable name="u">
63
					<backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.view" /></backpath:link>
63
					<backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.view" /></backpath:link>
64
				</core:viewable>
64
				</core:viewable>
65
				<core:notViewable name="u">
65
				<core:notViewable name="u">
66
					&nbsp;
66
					&nbsp;
67
				</core:notViewable>
67
				</core:notViewable>
68
			</core:notEditable>
68
			</core:notEditable>
69
		</td>
69
		</td>
70
		<td>
70
		<td>
71
			<core:deleteable name="u">
71
			<core:deleteable name="u">
72
				<backpath:link action="/user/system/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.delete" /></backpath:link>
72
				<backpath:link action="/user/system/deleting" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.delete" /></backpath:link>
73
			</core:deleteable>
73
			</core:deleteable>
74
			<core:notDeleteable name="u">
74
			<core:notDeleteable name="u">
75
				&nbsp;
75
				&nbsp;
76
			</core:notDeleteable>
76
			</core:notDeleteable>
77
		</td>
77
		</td>
78
	</tr>
78
	</tr>
79
</logic:iterate>
79
</logic:iterate>
80
</table>
80
</table>
81
 
81
 
82
<logic:equal name="allowedToCreate" value="true">
82
<logic:equal name="allowedToCreate" value="true">
83
	<backpath:link action="/user/system/edit"><bean:message key="ak.hostadmiral.page.user.system.list.add" /></backpath:link>
83
	<backpath:link action="/user/system/edit"><bean:message key="ak.hostadmiral.page.user.system.list.add" /></backpath:link>
84
</logic:equal>
84
</logic:equal>
85
 
85
 
86
<br>
86
<br>
87
<backpath:backlink><bean:message key="ak.hostadmiral.page.user.system.list.back" /></backpath:backlink>
87
<backpath:backlink><bean:message key="ak.hostadmiral.page.user.system.list.back" /></backpath:backlink>
88
 
88
 
89
</body>
89
</body>
90
 
90
 
91
</html>
91
</html>