이다솜
2022-02-21
@124
[20220221 이다솜] no img 사용자페이지 추가 코밋
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 123)
+++ base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleList.jsp (revision 124)
@@ -129,8 +129,8 @@
</li>
</c:forEach>
<!-- 게시글 본문 -->
- <c:forEach items="${resultList}" var="resultInfo" varStatus="status">
- <c:if test="${boardMasterVO.bbsTyCode ne 'BBST02'}">
+ <c:if test="${boardMasterVO.bbsTyCode ne 'BBST02'}">
+ <c:forEach items="${resultList}" var="resultInfo" varStatus="status">
<li>
<div class="b_num">
<p><c:out value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage + status.index)}"/></p>
@@ -175,15 +175,24 @@
<div class="b_date"><c:out value='${resultInfo.frstRegisterPnttm}'/></div>
<%-- <div class="b_view"><c:out value='${resultInfo.inqireCo}'/></div> --%>
</li>
- </c:if>
- <c:if test="${boardMasterVO.bbsTyCode eq 'BBST02'}">
- <div class="board_img_list">
- <ul>
- <li>
- <div class="b_thumb ">
- <a href="#!" class="bg_box">
- <img src="${resultInfo.rprsAtchFileLink }" alt="${resultInfo.nttSj } 대표이미지"></a>
- </div>
+ </c:forEach>
+ </c:if>
+ <c:if test="${boardMasterVO.bbsTyCode eq 'BBST02'}">
+ <div class="board_img_list">
+ <ul>
+ <c:forEach items="${resultList}" var="resultInfo" varStatus="status">
+ <li>
+ <c:if test="${empty resultInfo.rprsAtchFileLink }">
+ <div class="b_thumb no_img">
+ <em class="blind">등록된 이미지 없음</em>
+ </div>
+ </c:if>
+ <c:if test="${!empty resultInfo.rprsAtchFileLink }">
+ <div class="b_thumb ">
+ <a href="#!" onclick="fn_egov_inquire_articledetail('${resultInfo.bbsId }', '${resultInfo.nttId }');" class="bg_box">
+ <img src="${resultInfo.rprsAtchFileLink }" alt="${resultInfo.nttSj } 대표이미지"></a>
+ </div>
+ </c:if>
<div class="b_text">
<a href="#!" class="category">Cross Street</a>
<a href="#!" class="title" onclick="fn_egov_inquire_articledetail('${resultInfo.bbsId }', '${resultInfo.nttId }');" title="${resultInfo.nttSj }">
@@ -197,10 +206,10 @@
</p>
</div>
</li>
- </ul>
- </div>
- </c:if>
- </c:forEach>
+ </c:forEach>
+ </ul>
+ </div>
+ </c:if>
<c:if test="${fn:length(resultList) == 0}">
<!-- 글이 없는 경우 -->
List
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?