Skip to content

Commit

Permalink
fix: 어드민 post 수정 (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
Choi-JJunho authored and hozzijeong committed Oct 20, 2023
1 parent 99e7686 commit 1320f05
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ <h1 class="text-center mb-4">사용자 목록</h1>
<div class="card shadow-sm">
<div class="card-body">
<p class="card-text" th:text="|사용자 ID: ${member.id}|"></p>
<p class="card-text" th:text="|알림 등록 여부: ${member.deviceToken == null ? '구독중이 아님' : '구독중' }|"></p>
<p class="card-text"
th:text="|알림 등록 여부: ${member.deviceToken == null ? '구독중이 아님' : '구독중' }|"></p>
<p class="card-text"
th:text="|가입일: ${#temporals.format(member.createdAt, 'yyyy-MM-dd HH:mm:ss')}|"></p>
<div>
<th:block th:if="${member.deviceToken != null}">
<form id="sendNotificationForm" method="post">
<form id="sendNotificationForm">
<div class="bord">
<input name="deviceToken" th:value="${member.deviceToken}" type="hidden">
<label for="notificationTitle">알림 제목</label>
Expand All @@ -45,7 +46,8 @@ <h1 class="text-center mb-4">사용자 목록</h1>
<nav aria-label="Page Navigation">
<ul class="pagination justify-content-center mt-3">
<li class="page-item" th:classappend="${page.number == 0} ? 'disabled' : ''">
<a class="page-link" th:href="@{|/admin/member/requests?page=0|}" th:if="${page.number != 0}">처음으로</a>
<a class="page-link" th:href="@{|/admin/member/requests?page=0|}"
th:if="${page.number != 0}">처음으로</a>
</li>

<li class="page-item" th:classappend="${page.hasPrevious()} ? '' : 'disabled'">
Expand Down

0 comments on commit 1320f05

Please sign in to comment.