Skip to content

Commit

Permalink
Merge pull request #114 from nhnacademy-be5-T3Team/feature/review
Browse files Browse the repository at this point in the history
fix : url 수정
  • Loading branch information
Yujin-nKim authored May 16, 2024
2 parents 002b63e + f402db3 commit fd6efa3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/main/resources/templates/main/page/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ <h5 class="modal-title" id="couponModalLabel">쿠폰을 발급받고 결제창
</div>
<div class="modal-body">

<form action="/coupons/book" method="post">
<button id = "bookCouponButton" type="submit">도서 쿠폰 발급받기</button>
</form>
<hr>
<form action="/coupons/category" method="post">
<button id = "categoryCouponButton" type="submit">카테고리 쿠폰 발급받기</button>
</form>-->
<!-- <form action="/coupons/book" method="post">-->
<!-- <button id = "bookCouponButton" type="submit">도서 쿠폰 발급받기</button>-->
<!-- </form>-->
<!-- <hr>-->
<!-- <form action="/coupons/category" method="post">-->
<!-- <button id = "categoryCouponButton" type="submit">카테고리 쿠폰 발급받기</button>-->
<!-- </form>-->
<button id="bookCouponButton" type="button"
onclick="issueCoupon('/coupons/book', '도서 쿠폰이 발급되었습니다.', '도서 쿠폰 발급에 실패하였습니다. 다시 시도해 주세요.');">
도서 쿠폰 발급받기
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/main/page/mypageOrder.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h5 class="card-title">
</button>

<button th:if="${orderDetailInfo.orderStatusName != 'PENDING'}"
class="btn btn-outline-dark">
class="btn btn-outline-dark" th:onclick="|location.href='@{/reviews/register(bookId=${orderDetailInfo.bookId}, orderDetailId=${orderDetailInfo.orderDetailId})}'|">
리뷰 작성하기
</button>

Expand Down

0 comments on commit fd6efa3

Please sign in to comment.