Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ public enum AbeekTypeConst {
PROFESSIONAL_NON_MAJOR("전문교양"),
NON_MAJOR("교양"),
MSC("MSC"),
MAJOR("전공학점"),
DESIGN("설계학점"),
MINIMUM_CERTI("최소인증학점"),
MAJOR("전공"),
DESIGN("설계"),
MINIMUM_CERTI("최소 이수학점"),
BSM("BSM");

private final String typeMessage;

AbeekTypeConst(String typeMessage) {
this.typeMessage = typeMessage;
}

public String getTypeMessage() {
return typeMessage;
}
}
4 changes: 2 additions & 2 deletions src/main/resources/templates/gonghak/statusForm.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h1>RESULT RATIO</h1>
</thead>
<tbody>
<tr th:each="resultRatio : ${userResultRatio}">
<td th:text="${resultRatio.getKey()}"></td>
<td th:text="${resultRatio.getKey().getTypeMessage()}"></td>
<td th:text="${resultRatio.value.getUserPoint()}"></td>
<td th:text="${resultRatio.value.getStandardPoint()}"></td>
<td>
Expand Down Expand Up @@ -76,7 +76,7 @@ <h1>RECOMMEND COURSES</h1>
<div class="py-5 text-center" th:each="recommendCourse : ${recommendCoursesByAbeekType}">

<div th:if="${not #lists.isEmpty(recommendCourse.getValue())}">
<h3 th:text="${recommendCourse.getKey()}">type</h3>
<h2 th:text="${recommendCourse.getKey().getTypeMessage()}">type</h2>
<div style="margin-bottom: 50px">
<div class="table-container m-3"
style="max-height: 500px; overflow-y: auto; margin-top: 30px">
Expand Down