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
7 changes: 2 additions & 5 deletions src/main/resources/templates/my/dashboard/junior.html
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ <h5 class="section-title">전체 멘토링 내역</h5>

<!-- 상태 배지 -->
<span th:if="${order.status.name() == 'PENDING'}" class="status-pill status-pending">결제 대기</span>
<span th:if="${order.status.name() == 'PAID'}" class="status-pill status-paid">PAID</span>
<span th:if="${order.status.name() == 'PAID'}" class="status-pill status-paid">리뷰 진행중</span>
<span th:if="${order.status.name() == 'SETTLED'}" class="status-pill status-settled">완료</span>
<span th:if="${order.status.name() == 'CANCELLED'}" class="status-pill status-cancelled">취소됨</span>
</div>
Expand All @@ -441,10 +441,7 @@ <h5 class="section-title">전체 멘토링 내역</h5>
<span th:if="${order.status.name() == 'SETTLED' and order.hasReview}"
class="text-mint small fw-semibold">✓ 후기 작성됨</span>

<span th:if="${order.status.name() == 'PAID'}" class="text-secondary small">리뷰 진행중</span>
<span th:if="${order.status.name() == 'PENDING'}" class="text-warning small">결제 대기</span>

<a th:href="@{|/orders/${order.orderId}|}" class="btn-action btn-action-outline">상세 →</a>
<a th:href="@{|/orders/${order.orderId}|}" class="btn-action btn-action-outline">워크스페이스 입장 →</a>
</div>
</div>
</div>
Expand Down
5 changes: 1 addition & 4 deletions src/main/resources/templates/my/dashboard/senior.html
Original file line number Diff line number Diff line change
Expand Up @@ -575,17 +575,14 @@ <h5 class="section-title">전체 멘토링 내역</h5>
</div>

<div class="d-flex align-items-center gap-2">
<a th:if="${order.status.name() == 'PAID'}"
th:href="@{|/orders/${order.orderId}|}"
class="btn-action btn-action-mint">리뷰 시작하기 →</a>

<span th:if="${order.status.name() == 'SETTLED' and order.hasReview}"
class="text-mint small fw-semibold">✓ 후기 받음</span>
<span th:if="${order.status.name() == 'SETTLED' and !order.hasReview}"
class="text-secondary small">완료</span>

<a th:href="@{|/orders/${order.orderId}|}"
class="btn-action btn-action-outline">리포트 보기 →</a>
class="btn-action btn-action-outline">워크스페이스 입장 →</a>
</div>
</div>
</th:block>
Expand Down
Loading