jhleem / egov star

이다솜 이다솜 2022-02-21 @122

[20220221 이다솜] no img 수정 코밋
Index: base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleManageList.jsp =================================================================== --- base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleManageList.jsp (revision 121) +++ base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleManageList.jsp (revision 122) @@ -119,6 +119,9 @@ <caption>게시판 목록 - 번호, 글제목, 등록자, 작성시각, 조회수로 구성</caption> <colgroup> <col class="width100"> + <c:if test="${boardMasterVO.bbsTyCode eq 'BBST02'}"> + <col class="width100"> + </c:if> <col class="widthauto"> <col class="width150"> <col class="width150"> @@ -127,6 +130,9 @@ <thead> <tr> <th scope="col"><spring:message code="table.num" /></th><!-- 번호 --> + <c:if test="${boardMasterVO.bbsTyCode eq 'BBST02'}"> + <th scope="col">썸네일</th><!-- 이미지 --> + </c:if> <th scope="col" class="board_th_link"><spring:message code="comCopBbs.articleVO.list.nttSj" /></th><!--글 제목 --> <th scope="col"><spring:message code="table.reger" /></th><!-- 작성자명 --> <th scope="col"><spring:message code="table.regdate" /></th><!-- 작성시각 --> @@ -136,9 +142,12 @@ <tbody class="ov"> <c:if test="${empty resultList}"> <!-- 글이 없는 경우 --> - <tr> - <td colspan="5"><spring:message code="common.nodata.msg" /></td> - </tr> + <c:if test="${boardMasterVO.bbsTyCode ne 'BBST02'}"> + <tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr> + </c:if> + <c:if test="${boardMasterVO.bbsTyCode eq 'BBST02'}"> + <tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr> + </c:if> </c:if> <!-- 공지사항 본문 --> <c:forEach items="${noticeList}" var="noticeInfo" varStatus="status"> @@ -154,72 +163,42 @@ </c:forEach> <!-- 게시글 본문 --> <c:forEach items="${resultList}" var="resultInfo" varStatus="status"> - <tr> - <td> - <c:out value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage + status.index) }" /> - </td> - <!-- 나머지 경우 --> - <td class="alignL <c:if test="${resultInfo.secretAt == 'Y'}">secret</c:if>"> - <a href="#!" title="${resultInfo.nttSj} <c:if test="${resultInfo.commentCo != ''}">[${resultInfo.commentCo}]</c:if>" onclick="fn_egov_inquire_articledetail(${reBbsId},${resultInfo.nttId});">${resultInfo.nttSj} <c:if test="${resultInfo.commentCo != ''}">[${resultInfo.commentCo}]</c:if></a> - <c:if test="${resultInfo.secretAt eq 'Y'}"> - <em class="icon_secret">비밀글</em> - </c:if> - </td> - <td>${resultInfo.frstRegisterNm}</td> - <td>${resultInfo.frstRegisterPnttm}</td> - <td>${resultInfo.inqireCo}</td> - </tr> + <c:if test="${boardMasterVO.bbsTyCode ne 'BBST02'}"> + <tr> + <td><c:out value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage + status.index) }" /></td> + <td class="alignL <c:if test="${resultInfo.secretAt == 'Y'}">secret</c:if>"> + <a href="#!" title="${resultInfo.nttSj} <c:if test="${resultInfo.commentCo != ''}">[${resultInfo.commentCo}]</c:if>" onclick="fn_egov_inquire_articledetail(${reBbsId},${resultInfo.nttId});">${resultInfo.nttSj} <c:if test="${resultInfo.commentCo != ''}">[${resultInfo.commentCo}]</c:if></a> + <c:if test="${resultInfo.secretAt eq 'Y'}"> + <em class="icon_secret">비밀글</em> + </c:if> + </td> + <td>${resultInfo.frstRegisterNm}</td> + <td>${resultInfo.frstRegisterPnttm}</td> + <td>${resultInfo.inqireCo}</td> + </tr> + </c:if> + <!-- 이미지형 게시판 --> + <c:if test="${boardMasterVO.bbsTyCode eq 'BBST02'}"> + <tr onclick="fn_egov_inquire_articledetail(${reBbsId},${resultInfo.nttId});"> + <td><c:out value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage + status.index) }" /></td> + <td class="alignC"> + <c:if test="${empty resultInfo.rprsAtchFileLink }"> + <div class="thumbnail no_img"><em class="blind">등록된 이미지 없음</em></div> + </c:if> + <c:if test="${!empty resultInfo.rprsAtchFileLink }"> + <div class="thumbnail bg_box"><img src="${resultInfo.rprsAtchFileLink }" alt="${resultInfo.nttSj } 대표이미지"><div class="thumb_zoom"><img src="${resultInfo.rprsAtchFileLink }" alt="${resultInfo.nttSj } 대표이미지"></div></div> + </c:if> + </td> + <!-- 나머지 경우 --> + <td class="alignL"><a href="#!" title="${resultInfo.nttSj} <c:if test="${resultInfo.commentCo != ''}">[${resultInfo.commentCo}]</c:if>">${resultInfo.nttSj} <c:if test="${resultInfo.commentCo != ''}">[${resultInfo.commentCo}]</c:if></a></td> + <td>${resultInfo.frstRegisterNm}</td> + <td>${resultInfo.frstRegisterPnttm}</td> + <td>${resultInfo.inqireCo}</td> + </tr> + </c:if> </c:forEach> </tbody> </table> - - <!-- img list --> - <div class="space50"></div> - <table class="table_list"> - <caption>게시판 목록 - 번호, 글제목, 등록자, 작성시각, 조회수로 구성</caption> - <colgroup> - <col class="width100"> - <col class="width100"> - <col class="widthauto"> - <col class="width150"> - <col class="width150"> - <col class="width100"> - </colgroup> - <thead> - <tr> - <th scope="col"><spring:message code="table.num" /></th><!-- 번호 --> - <th scope="col">썸네일</th><!-- 이미지 --> - <th scope="col" class="board_th_link"><spring:message code="comCopBbs.articleVO.list.nttSj" /></th><!--글 제목 --> - <th scope="col"><spring:message code="table.reger" /></th><!-- 작성자명 --> - <th scope="col"><spring:message code="table.regdate" /></th><!-- 작성시각 --> - <th scope="col"><spring:message code="comCopBbs.articleVO.list.inqireCo" /></th><!-- 조회수 --> - </tr> - </thead> - <tbody class="ov"> - <!-- 게시글 본문 --> - - <tr> - <td>2</td> - <td class="alignC"><div class="thumbnail bg_box"><img src="/images/user/main_bg.jpg" alt=""><div class="thumb_zoom"><img src="/images/user/main_bg.jpg" alt=""></div></div></td> - <!-- 나머지 경우 --> - <td class="alignL"><a href="#!" onclick="">ㅎㅎㅎ</a></td> - <td>웹마스터1</td> - <td>2022-02-18</td> - <td>110</td> - </tr> - <tr> - <td>1</td> - <td class="alignC"><div class="thumbnail no_img"><em class="blind">등록된 이미지 없음</em></div></td> - <!-- 나머지 경우 --> - <td class="alignL"><a href="#!" onclick="">ㅎㅎㅎ</a></td> - <td>웹마스터1</td> - <td>2022-02-18</td> - <td>110</td> - </tr> - </tbody> - </table> - <!-- img list --> - </div> <div class="board_footer"> <!-- paging navigation -->
Add a comment
List