m2u-upass-admin / WebContent / jsp / ss105_content / ibssNoticeDetails.jsp @ 88:2ab7c8154b54
History | View | Annotate | Download (7.67 KB)
1 |
<%@ 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 |
<h3 class="title"><strong><bean:write name="contentForm" property="contentTypeCode"/></strong></h3><br/> |
6 |
|
7 |
<h5><bean:write name="contentForm" property="categoryName"/></h5><br/> |
8 |
<table id="errorTable"> |
9 |
<tr> |
10 |
<td> |
11 |
<span id="serverSideError" class="error"><jsp:include flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span> |
12 |
</td> |
13 |
</tr> |
14 |
</table> |
15 |
|
16 |
<bean:define id="noticeInfoBean" name="contentForm" property="noticeInfoBean" /> |
17 |
<table class="tabularForm" width="517" border="1" style="table-layout: fixed;"> |
18 |
<tr> |
19 |
<td width="10%"> </td> |
20 |
<td width="30%"></td> |
21 |
<td style="word-wrap: break-word; width: 60%"></td> |
22 |
</tr> |
23 |
<tr> |
24 |
<td > </td> |
25 |
<td width="30%"><bean:message key="content_notice_title"/></td> |
26 |
<td style="word-wrap: break-word; width: 60%"><strong><c:out value="${noticeInfoBean.map.noticeTitle}"/></strong></td> |
27 |
</tr> |
28 |
<tr> |
29 |
<td width="10%"> </td> |
30 |
<td width="30%"><bean:message key="content_notice_abstract"></bean:message>:</td> |
31 |
<td style="word-wrap: break-word; width: 60%"><strong> |
32 |
<c:choose> |
33 |
<c:when test="${not empty noticeInfoBean.map.noticeAbstract}"> |
34 |
<c:out value="${noticeInfoBean.map.noticeAbstract}"/> |
35 |
</c:when> |
36 |
<c:otherwise>-</c:otherwise> |
37 |
</c:choose> |
38 |
</strong></td> |
39 |
</tr> |
40 |
<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> |
41 |
<tr> |
42 |
<td width="10%"> </td> |
43 |
<td width="30%"><bean:message key="content_notice_abstract_ML"></bean:message>:</td> |
44 |
<td style="word-wrap: break-word; width: 60%"><strong> |
45 |
<c:choose> |
46 |
<c:when test="${not empty noticeInfoBean.map.noticeAbstractML}"> |
47 |
<c:out value="${noticeInfoBean.map.noticeAbstractML}"/> |
48 |
</c:when> |
49 |
<c:otherwise>-</c:otherwise> |
50 |
</c:choose> |
51 |
</strong></td> |
52 |
</tr> |
53 |
</c:if> |
54 |
<tr> |
55 |
<td width="10%"> </td> |
56 |
<td width="30%"><bean:message key="content_notice_description"/></td> |
57 |
<td style="word-wrap: break-word; width: 60%"><strong> |
58 |
<c:choose> |
59 |
<c:when test="${not empty noticeInfoBean.map.noticeDescription}"> |
60 |
<c:out value="${noticeInfoBean.map.noticeDescription}"/> |
61 |
</c:when> |
62 |
<c:otherwise>-</c:otherwise> |
63 |
</c:choose> |
64 |
</strong></td> |
65 |
</tr> |
66 |
<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> |
67 |
<tr> |
68 |
<td width="10%"> </td> |
69 |
<td width="30%"><bean:message key="content_notice_description_ML"/></td> |
70 |
<td style="word-wrap: break-word; width: 60%"><strong> |
71 |
<c:choose> |
72 |
<c:when test="${not empty noticeInfoBean.map.noticeDescriptionML}"> |
73 |
<c:out value="${noticeInfoBean.map.noticeDescriptionML}"/> |
74 |
</c:when> |
75 |
<c:otherwise>-</c:otherwise> |
76 |
</c:choose> |
77 |
</strong></td> |
78 |
</tr> |
79 |
</c:if> |
80 |
<tr> |
81 |
<td width="10%"> </td> |
82 |
<td width="30%"><bean:message key="content_notice_type"/></td> |
83 |
<td style="word-wrap: break-word; width: 60%"><strong> |
84 |
<c:choose> |
85 |
<c:when test="${not empty noticeInfoBean.map.noticeType}"> |
86 |
<c:out value="${noticeInfoBean.map.noticeType}"/> |
87 |
</c:when> |
88 |
<c:otherwise>-</c:otherwise> |
89 |
</c:choose> |
90 |
</strong></td> |
91 |
</tr> |
92 |
<tr> |
93 |
<td width="10%"> </td> |
94 |
<td width="30%"><bean:message key="content_notice_external_url"/></td> |
95 |
<td style="word-wrap: break-word; width: 60%"><strong> |
96 |
<c:choose> |
97 |
<c:when test="${not empty noticeInfoBean.map.noticeExtUrl}"> |
98 |
<c:out value="${noticeInfoBean.map.noticeExtUrl}"/> |
99 |
</c:when> |
100 |
<c:otherwise>-</c:otherwise> |
101 |
</c:choose> |
102 |
</strong></td> |
103 |
</tr> |
104 |
<tr> |
105 |
<td width="10%"> </td> |
106 |
<td width="30%"><bean:message key="content_notice_start_date"/></td> |
107 |
<td style="word-wrap: break-word; width: 60%"><strong> |
108 |
<c:choose> |
109 |
<c:when test="${not empty noticeInfoBean.map.noticeStartDate}"> |
110 |
<c:out value="${noticeInfoBean.map.noticeStartDate}"/> |
111 |
</c:when> |
112 |
<c:otherwise>-</c:otherwise> |
113 |
</c:choose> |
114 |
</strong></td> |
115 |
</tr> |
116 |
<tr> |
117 |
<td width="10%"> </td> |
118 |
<td width="30%"><bean:message key="content_notice_end_date"/></td> |
119 |
<td style="word-wrap: break-word; width: 60%"><strong> |
120 |
<c:choose> |
121 |
<c:when test="${not empty noticeInfoBean.map.noticeEndDate}"> |
122 |
<c:out value="${noticeInfoBean.map.noticeEndDate}"/> |
123 |
</c:when> |
124 |
<c:otherwise>-</c:otherwise> |
125 |
</c:choose> |
126 |
</strong></td> |
127 |
</tr> |
128 |
<tr> |
129 |
<td width="10%"> </td> |
130 |
<td width="30%"><bean:message key="content_status"/></td> |
131 |
<td style="word-wrap: break-word; width: 60%"><strong> |
132 |
<c:choose> |
133 |
<c:when test="${not empty noticeInfoBean.map.status}"> |
134 |
<c:out value="${noticeInfoBean.map.status}"/> |
135 |
</c:when> |
136 |
<c:otherwise>-</c:otherwise> |
137 |
</c:choose> |
138 |
</strong></td> |
139 |
</tr> |
140 |
<tr> |
141 |
<td width="10%"> </td> |
142 |
<td>Flag</td> |
143 |
<td><strong> |
144 |
<c:if test="${noticeInfoBean.map.announPromoFlag eq 'H'}"> |
145 |
<c:out value="HOT"></c:out> |
146 |
</c:if> |
147 |
<c:if test="${noticeInfoBean.map.announPromoFlag eq 'N'}"> |
148 |
<c:out value="NEW"></c:out> |
149 |
</c:if> |
150 |
<c:if test="${noticeInfoBean.map.announPromoFlag eq 'E'}"> |
151 |
<c:out value="-"></c:out> |
152 |
</c:if> |
153 |
</strong></td> |
154 |
</tr> |
155 |
<tr> |
156 |
<td width="10%"> </td> |
157 |
<td><bean:message key="content_notice_application"/>:</td> |
158 |
<td><strong> |
159 |
<c:set var="appRibId" value="" /> |
160 |
<c:set var="appBibId" value="" /> |
161 |
<c:if test="${noticeInfoBean.map.noticeApplicationId == 2}"> |
162 |
<c:set var="appRibId" value="checked='checked'" /> |
163 |
</c:if> |
164 |
<c:if test="${noticeInfoBean.map.noticeApplicationId == 3}"> |
165 |
<c:set var="appBibId" value="checked='checked'" /> |
166 |
</c:if> |
167 |
<c:if test="${noticeInfoBean.map.noticeApplicationId == 4}"> |
168 |
<c:set var="appBibId" value="checked='checked'" /> |
169 |
<c:set var="appRibId" value="checked='checked'" /> |
170 |
</c:if> |
171 |
<input type="checkbox" disabled="disabled" |
172 |
<c:out value="${appRibId}" /> /> RIB |
173 |
|
174 |
<input type="checkbox" disabled="disabled" |
175 |
<c:out value="${appBibId}" /> /> BIB |
176 |
|
177 |
</strong></td> |
178 |
</tr> |
179 |
<tr><td colspan="3"> </td></tr> |
180 |
</table> |
181 |
<c:if test="${contentForm.map.hasContentEditAccess eq true}"> |
182 |
<htmlEL:form action="/ss105/editNotice.do"> |
183 |
<htmlEL:hidden property="ID" name="noticeInfoBean"></htmlEL:hidden> |
184 |
<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();"> |
185 |
<bean:message key="general.button.edit"/> |
186 |
</htmlEL:submit> |
187 |
</htmlEL:form> |
188 |
</c:if> |
189 |
<c:if test="${contentForm.map.hasContentDeleteAccess eq true}"> |
190 |
<htmlEL:form action="/ss105/confirmDeleteNotice.do"> |
191 |
<c:set var="name" value="${noticeInfoBean.map.noticeTitle}"></c:set> |
192 |
<htmlEL:hidden property="ID" name="noticeInfoBean"></htmlEL:hidden> |
193 |
<htmlEL:hidden property="name" value="${name}"></htmlEL:hidden> |
194 |
<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();"> |
195 |
<bean:message key="general.button.delete"/> |
196 |
</htmlEL:submit> |
197 |
</htmlEL:form> |
198 |
</c:if> |
199 |
<c:choose> |
200 |
<c:when test="${contentForm.map.isSearch eq true}"> |
201 |
<htmlEL:form action="/ss105/searchNoticeResult.do?p=${noticeInfoBean.map.currentPage}"> |
202 |
<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();"> |
203 |
<bean:message key="general.button.back"/> |
204 |
</htmlEL:submit> |
205 |
</htmlEL:form> |
206 |
</c:when> |
207 |
<c:otherwise> |
208 |
<htmlEL:form action="/ss105/subContentCategory.do?p=${noticeInfoBean.map.currentPage}"> |
209 |
<htmlEL:hidden property="categoryID" value="${contentForm.map.categoryID}"></htmlEL:hidden> |
210 |
<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();"> |
211 |
<bean:message key="general.button.back"/> |
212 |
</htmlEL:submit> |
213 |
</htmlEL:form> |
214 |
</c:otherwise> |
215 |
</c:choose> |