Statistics
| Branch: | Revision:

m2u-upass-admin / WebContent / jsp / ss112_user / ibssRetailUserDetails.jsp @ 105:7228699e57a8

History | View | Annotate | Download (4.99 KB)

1 0:ea666cc7880e hadi
<%@ taglib uri="/WEB-INF/tld/struts-html-el" prefix="htmlEL"%>
2
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean"%>
3
<%@ taglib uri="/WEB-INF/tld/c" prefix="c"%>
4
5
<bean:define id="detailBean" name="ibssUserForm"
6
	property="ibssUserDetailBean" />
7
8
<h3 class="title">
9
	<strong><c:out value="${sessionScope.displayDesc}" /> -
10
		Details</strong>
11
</h3>
12
<table id="errorTable">
13
	<tr>
14
		<td><span id="serverSideError" class="error"><jsp:include
15
					flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span>
16
		</td>
17
	</tr>
18
</table>
19
<htmlEL:form action="/ss112/editUserDetails.do">
20
	<table>
21
		<tr>
22
			<td>&nbsp;</td>
23
		</tr>
24
	</table>
25 93:480d2c6ae7bc weikuan
	<%-- <h5>
26 0:ea666cc7880e hadi
		<bean:message key="user.login.details" />
27 93:480d2c6ae7bc weikuan
	</h5> --%>
28 0:ea666cc7880e hadi
	<table class="tabularForm">
29
		<tr>
30
			<td width="61">&nbsp;</td>
31 14:c3981884205f cheeping
			<td width="200">&nbsp;</td>
32 0:ea666cc7880e hadi
			<td colspan="2">&nbsp;</td>
33
			<td width="47" colspan="2">&nbsp;</td>
34
		</tr>
35
		<tr>
36
			<td>&nbsp;</td>
37 72:dde60018a086 weikuan
			<td><bean:message key="general.id" />:</td>
38 0:ea666cc7880e hadi
			<td colspan="2"><strong><c:out
39
						value="${detailBean.map.userID}" /> </strong></td>
40
			<td colspan="2">&nbsp;</td>
41
		</tr>
42
		<tr>
43
			<td>&nbsp;</td>
44 72:dde60018a086 weikuan
			<td><bean:message key="user.id" />:</td>
45 0:ea666cc7880e hadi
			<td colspan="2"><strong><c:out
46
						value="${detailBean.map.userAlias}" /> </strong></td>
47
			<td colspan="2">&nbsp;</td>
48
		</tr>
49 72:dde60018a086 weikuan
		<%-- <tr>
50 0:ea666cc7880e hadi
			<td>&nbsp;</td>
51 14:c3981884205f cheeping
			<td><bean:message key="user.customer.name" />:</td>
52 0:ea666cc7880e hadi
			<td colspan="2"><strong> <c:choose>
53 14:c3981884205f cheeping
						<c:when test="${not empty detailBean.map.userName}">
54
							<c:out value="${detailBean.map.userName}"></c:out>
55 0:ea666cc7880e hadi
						</c:when>
56
						<c:otherwise>-</c:otherwise>
57
					</c:choose> </strong></td>
58
			<td colspan="2">&nbsp;</td>
59 72:dde60018a086 weikuan
		</tr> --%>
60 0:ea666cc7880e hadi
		<tr>
61
			<td>&nbsp;</td>
62
			<td><bean:message key="user.status" />:</td>
63
			<td colspan="2"><strong> <c:choose>
64
						<c:when test="${not empty detailBean.map.userStatus}">
65
							<c:out value="${detailBean.map.userStatus}"></c:out>
66
						</c:when>
67
						<c:otherwise>-</c:otherwise>
68
					</c:choose> </strong></td>
69
			<td colspan="2">&nbsp;</td>
70
		</tr>
71
		<tr>
72
			<td>&nbsp;</td>
73 14:c3981884205f cheeping
			<td><bean:message key="user.application" />:</td>
74 0:ea666cc7880e hadi
			<td colspan="2"><strong> <c:choose>
75 14:c3981884205f cheeping
						<c:when test="${not empty detailBean.map.userApplication}">
76
							<c:out value="${detailBean.map.userApplication}"></c:out>
77 0:ea666cc7880e hadi
						</c:when>
78
						<c:otherwise>-</c:otherwise>
79
					</c:choose> </strong></td>
80
			<td colspan="2">&nbsp;</td>
81
		</tr>
82 14:c3981884205f cheeping
		<%-- <tr>
83 0:ea666cc7880e hadi
			<td>&nbsp;</td>
84 14:c3981884205f cheeping
			<td><bean:message key="user.authentication.mode" />:</td>
85 0:ea666cc7880e hadi
			<td colspan="2"><strong> <c:choose>
86 14:c3981884205f cheeping
						<c:when test="${not empty detailBean.map.userAuthMode}">
87
							<c:out value="${detailBean.map.userAuthMode}"></c:out>
88 0:ea666cc7880e hadi
						</c:when>
89
						<c:otherwise>-</c:otherwise>
90
					</c:choose> </strong></td>
91
			<td colspan="2">&nbsp;</td>
92 14:c3981884205f cheeping
		</tr> --%>
93 0:ea666cc7880e hadi
		<tr>
94
			<td>&nbsp;</td>
95
			<td><bean:message key="user.creation.date" />:</td>
96
			<td colspan="2"><strong> <c:choose>
97
						<c:when test="${not empty detailBean.map.userCreationDate}">
98
							<c:out value="${detailBean.map.userCreationDate}"></c:out>
99
						</c:when>
100
						<c:otherwise>-</c:otherwise>
101
					</c:choose> </strong></td>
102
			<td colspan="2">&nbsp;</td>
103
		</tr>
104 14:c3981884205f cheeping
105
		<c:forEach var="detail" items="${detailBean.map.userDetailsMap}">
106
			<tr>
107
				<td>&nbsp;</td>
108
				<td><c:out value="${detail.key}"></c:out>:</td>
109
				<td colspan="2"><strong> <c:choose>
110
							<c:when test="${not empty detail.value}">
111
								<c:out value="${detail.value}"></c:out>
112
							</c:when>
113
							<c:otherwise>-</c:otherwise>
114
						</c:choose> </strong></td>
115
				<td colspan="2">&nbsp;</td>
116
			</tr>
117
		</c:forEach>
118
119
120 0:ea666cc7880e hadi
	</table>
121
	<div class="floatRight">
122
		<htmlEL:cancel property="action" styleClass="button"
123
			onclick="overlay();">
124
			<bean:message key="general.button.back" />
125
		</htmlEL:cancel>
126 101:92abf59c3a68 weikuan
127
		<c:if test="${detailBean.map.userApplicationKey ne '2'}">
128 14:c3981884205f cheeping
		<htmlEL:submit property="action" styleClass="button"
129
			onclick="overlay();">
130 94:6a7a9055eabc weikuan
			<bean:message key="general.button.edit" />
131
		</htmlEL:submit>
132 101:92abf59c3a68 weikuan
		</c:if>
133 95:2f9fb3b2341f weikuan
134
		<c:if test="${detailBean.map.userStatusKey eq 1}">
135
		<htmlEL:submit property="action" styleClass="button"
136
			onclick="overlay();">
137
			<bean:message key="general.button.unlock" />
138
		</htmlEL:submit>
139
		</c:if>
140
141
		<c:if test="${detailBean.map.userStatusKey eq 2}">
142
		<htmlEL:submit property="action" styleClass="button"
143
			onclick="overlay();">
144
			<bean:message key="general.button.activate" />
145
		</htmlEL:submit>
146
		</c:if>
147
148 96:c2afcaa3dd4b weikuan
		<c:if test="${detailBean.map.userStatusKey eq 0}">
149 95:2f9fb3b2341f weikuan
		<htmlEL:submit property="action" styleClass="button"
150
			onclick="overlay();">
151
			<bean:message key="general.button.suspend" />
152
		</htmlEL:submit>
153
		</c:if>
154
155 94:6a7a9055eabc weikuan
		<htmlEL:submit property="action" styleClass="button"
156
			onclick="overlay();">
157 14:c3981884205f cheeping
			<bean:message key="general.button.reset.password" />
158
		</htmlEL:submit>
159
		<htmlEL:submit property="action" styleClass="button"
160
			onclick="overlay();">
161
			<bean:message key="general.button.delete" />
162
		</htmlEL:submit>
163 0:ea666cc7880e hadi
	</div>
164
</htmlEL:form>