Advertisement
haithienht

test thymeleaf

Feb 12th, 2020
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.71 KB | None | 0 0
  1. <div class="tab-pane fade overflow-auto text-left border border-secondary" id="pro-review"
  2.     role="tabpanel" style="height: 20em;overflow-y: scroll;">
  3.     <div class="card border-bottom border-secondary"
  4.         style="background-color: lightyellow;">
  5.         <!-- /.card-header -->
  6.         <div class="card-body border-bottom border-warning">
  7.             <div class="card-comment">
  8.                 <div class="comment-text">
  9.                     <span class="username">
  10.                         <th:block
  11.                             th:text="${content.customer.firstName + ' ' + content.customer.lastName}">
  12.                         </th:block>
  13.                         <span class="text-muted float-right" th:text="${#dates.format(content.createdAt, 'dd/MM/yyyy HH:mm')}">8:03 PM Today</span>
  14.                     </span><!-- /.username -->
  15.                     <th:block th:text="${content.content}"></th:block>
  16.                 </div>
  17.                 <!-- /.comment-text -->
  18.             </div>
  19.             <!-- /.card-comment -->
  20.         </div>
  21.         <!-- /.card-body -->
  22.         <div class="card-footer card-comments" th:if="${content.productCommentReplyCollection.size() > 0}">
  23.             <div class="card-comment" th:each="cmr : ${content.productCommentReplyCollection}" >
  24.                 <div class="comment-text">
  25.                     <span class="username">
  26.                         <th:block th:text="${cmr.customer != null ? (cmr.customer.firstName + ' ' + cmr.customer.lastName) : (cmr.staff.firstName + ' ' + cmr.staff.lastName)}"></th:block>
  27.                         <i class="text-muted" th:if="${cmr.staff != null}">(Staff)</i>
  28.                         <span class="text-muted float-right" th:text="${#dates.format(cmr.createdAt, 'dd/MM/yyyy HH:mm')}">8:03 PM Today</span>
  29.                     </span><!-- /.username -->
  30.                     <th:block th:text="${cmr.content}"></th:block>
  31.                 </div>
  32.                 <!-- /.comment-text -->
  33.             </div>
  34.            
  35.             <!-- /.card-comment -->
  36.         </div>
  37.         <!-- /.card-footer -->
  38.        
  39.         <!-- /.card-footer -->
  40.     </div>
  41. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement