Skip to content

Commit

Permalink
refactor : 아티스트 리스트 성별, 타입 텍스트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GaBaljaintheroom committed Jul 5, 2024
1 parent 76cfc1a commit 176b424
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,18 @@ <h2 class="text-center">아티스트 목록</h2>
<td th:text="${artist.koreanName}"></td>
<td th:text="${artist.englishName}"></td>
<td th:text="${artist.country}"></td>
<td th:text="${artist.artistGenderApiType}"></td>
<td th:text="${artist.artistApiType}"></td>
<td>
<div th:switch="${artist.artistGenderApiType.name()}">
<span th:case="'MAN'" th:text="'남성'"></span>
<span th:case="'WOMAN'" th:text="'여성'"></span>
</div>
</td>
<td>
<div th:switch="${artist.artistApiType.name()}">
<span th:case="'SOLO'" th:text="'솔로'"></span>
<span th:case="'GROUP'" th:text="'그룹'"></span>
</div>
</td>
<td>
<ul>
<li th:each="genre : ${artist.genreNames}" th:text="${genre}"></li>
Expand Down

0 comments on commit 176b424

Please sign in to comment.