- 게시판명칭변경 '커뮤니티' -> '자료실

- 게시글 목록 표시 안되는 오류 수정
master
유지인 2025-07-15 14:08:09 +09:00
parent f68637b6fc
commit fbb64ffa5b
5 changed files with 13 additions and 6 deletions

View File

@ -74,7 +74,7 @@ public class BoardController{
if( nBoardCategoryId != null ) {
switch (nBoardCategoryId) {
case 1:
displayName = "커뮤니티";
displayName = "자료실";
break;
case 2:
displayName = "공지사항";
@ -127,7 +127,7 @@ public class BoardController{
@RequestMapping("/sgis/portal/board-community.do")
public String boardCommunity(@RequestParam HashMap<String,Object> params, ModelMap model, RedirectAttributes rttr, HttpSession session) {
model.put("boardCategoryId", 1);
model.put("displayName", "커뮤니티");
model.put("displayName", "자료실");
return boardList(params, model, rttr, session);
}

View File

@ -20,7 +20,14 @@ function loadList(){
url : "/sgis/portal/board/all.do?boardCategoryId=${boardCategoryId}",
type : "get",
dataType : "json",
success : makeView,
success : function(result) {
try {
var jsonData = JSON.parse(result);
makeView(jsonData)
} catch(e) {
console.log("Error occured while parsing JSON")
}
},
error : function(){
alert("error");
}

View File

@ -96,7 +96,7 @@
<a href="javascript:void(0);">스마트지반정보관리 시스템 소개</a>
</li>
<li class="mega-menu-dropdown">
<a href="board-list.do?boardCategoryId=${params.boardCategoryId}"> 커뮤니티 </a>
<a href="board-list.do?boardCategoryId=${params.boardCategoryId}"> 자료실 </a>
</li>
<li class="mega-menu-dropdown">
<a href="boardNotice.do"> 공지사항 </a>

View File

@ -41,7 +41,7 @@ ${vo.idx}, ${vo.writer}
</div>
<div class="bottom-con-panel service-contents" style="max-width: 50%;">
<div class="main-title-wrap">
<div class="main-title">커뮤니티</div>
<div class="main-title">자료실</div>
</div>
<div class="faq-box">
<ul>

View File

@ -140,7 +140,7 @@ function goAdminPage(){
<a href='<c:url value="board-notice.do"/>'> 공지사항 </a>
</li>
<li class="mega-menu-dropdown">
<a href='<c:url value="board-community.do"/>'> 커뮤니티 </a>
<a href='<c:url value="board-community.do"/>'> 자료실 </a>
</li>
<li class="mega-menu-dropdown">
<a href='<c:url value="board-qna.do"/>'> Q&A </a>