Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="tab-pane fade overflow-auto text-left border border-secondary" id="pro-review"
- role="tabpanel" style="height: 20em;overflow-y: scroll;">
- <div class="card border-bottom border-secondary"
- style="background-color: lightyellow;">
- <!-- /.card-header -->
- <div class="card-body border-bottom border-warning">
- <div class="card-comment">
- <div class="comment-text">
- <span class="username">
- <th:block
- th:text="${content.customer.firstName + ' ' + content.customer.lastName}">
- </th:block>
- <span class="text-muted float-right" th:text="${#dates.format(content.createdAt, 'dd/MM/yyyy HH:mm')}">8:03 PM Today</span>
- </span><!-- /.username -->
- <th:block th:text="${content.content}"></th:block>
- </div>
- <!-- /.comment-text -->
- </div>
- <!-- /.card-comment -->
- </div>
- <!-- /.card-body -->
- <div class="card-footer card-comments" th:if="${content.productCommentReplyCollection.size() > 0}">
- <div class="card-comment" th:each="cmr : ${content.productCommentReplyCollection}" >
- <div class="comment-text">
- <span class="username">
- <th:block th:text="${cmr.customer != null ? (cmr.customer.firstName + ' ' + cmr.customer.lastName) : (cmr.staff.firstName + ' ' + cmr.staff.lastName)}"></th:block>
- <i class="text-muted" th:if="${cmr.staff != null}">(Staff)</i>
- <span class="text-muted float-right" th:text="${#dates.format(cmr.createdAt, 'dd/MM/yyyy HH:mm')}">8:03 PM Today</span>
- </span><!-- /.username -->
- <th:block th:text="${cmr.content}"></th:block>
- </div>
- <!-- /.comment-text -->
- </div>
- <!-- /.card-comment -->
- </div>
- <!-- /.card-footer -->
- <!-- /.card-footer -->
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement