jhleem / egov star

이다솜 이다솜 2022-02-16 @64

[20220216 이다솜] 게시판 목록 코밋
Index: base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleList.jsp =================================================================== --- base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleList.jsp (revision 63) +++ base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleList.jsp (revision 64) @@ -113,7 +113,11 @@ </a> </td> <%-- <td><c:out value='${noticeInfo.frstRegisterNm}'/></td> --%> - <td><span class="icon-file"></span></td> + <td> + <c:if test="${!empty noticeInfo.atchFileId }"> + <span class="icon-file"></span> + </c:if> + </td> <td><c:out value='${noticeInfo.frstRegisterPnttm}'/></td> <%-- <td><c:out value='${noticeInfo.inqireCo}'/></td> --%> </tr> @@ -129,12 +133,9 @@ <c:when test="${resultInfo.sjBoldAt == 'Y'}"> <!-- 제목 Bold인 경우 --> <td class="board_tit"> - <form name="subForm" method="post" action="<c:url value='/cop/bbs/selectArticleDetail.do'/>"> - <input name="nttId" type="hidden" value="<c:out value="${resultInfo.nttId}"/>"> - <input name="bbsId" type="hidden" value="<c:out value="${resultInfo.bbsId}"/>"> - <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/> - <span class="link"><c:if test="${resultInfo.replyLc!=0}"><c:forEach begin="0" end="${resultInfo.replyLc}" step="1">&nbsp; </c:forEach><img src="<c:url value='/images/egovframework/com/cop/bbs/icon_reply.png'/>" alt="secret"></c:if><input type="submit" value="<c:out value='${fn:substring(resultInfo.nttSj, 0, 40)}'/><c:if test="${resultInfo.commentCo != ''}"> <c:out value='[${resultInfo.commentCo}]'/></c:if>" style="border:0px solid #e0e0e0;"></span> - </form> + <a href="#!" onclick="fn_egov_inquire_articledetail('${resultInfo.bbsId }', '${resultInfo.nttId }');" title="${resultInfo.nttSj }"> + <c:out value='${fn:substring(resultInfo.nttSj, 0, 40)}'/><c:if test="${resultInfo.commentCo != ''}"> <c:out value='[${resultInfo.commentCo}]'/></c:if> + </a> </td> </c:when> <c:when test="${resultInfo.secretAt == 'Y' && sessionUniqId != resultInfo.frstRegisterId}"> @@ -161,7 +162,11 @@ </c:otherwise> </c:choose> <%-- <td><c:out value='${resultInfo.frstRegisterNm}'/></td> --%> - <td><span class="icon-file"></span></td> + <td> + <c:if test="${!empty resultInfo.atchFileId }"> + <span class="icon-file"></span> + </c:if> + </td> <td><c:out value='${resultInfo.frstRegisterPnttm}'/></td> <%-- <td><c:out value='${resultInfo.inqireCo}'/></td> --%> </tr> @@ -184,7 +189,7 @@ </ul> </div> <div class="right"> - <button type="button" class="btn_l bg_basic" onclick="location.href='<c:url value='/cop/bbs/insertArticleView.do?bbsId=${boardMasterVO.bbsId}' />'" title="<spring:message code="button.create" /> <spring:message code="input.button" />"><spring:message code="button.create" /></button><!-- 등록 --> + <button type="button" class="btn_l bg_basic" onclick="location.href='<c:url value='/cop/bbs/insertArticleView.do?bbsId=${boardMasterVO.bbsId}' />'" title="<spring:message code="button.create" /> <spring:message code="input.button" />"><spring:message code="button.create" /></button><!-- 등록 --> </div> </div> </div>
Add a comment
List