| 123456789101112131415161718 |
- <style >
- #table_respond td, #table_respond th{padding:0.35rem !important}
- </style>
- <table class="table" id="table_respond">
-
- <?php if(is_array($comments) && !empty($comments)): ?>
- <?php foreach($comments as $index => $comment): ?>
-
- <?php
- echo $this->partial('Request/comment-element', ['commentId'=>$comment['id'], 'commentPosition'=>$comment['position'], 'show_specialties'=>$comment['show_specialties'], 'show_meta'=>$comment['show_meta'], 'is_moderator'=>$comment['is_moderator'], 'style'=>'margin-bottom:5px;', 'userId'=>$comment['user_id'], 'userUpdatedAt'=>$comment['user_updated_at'], 'userName'=>ucwords($comment['user_name']), 'userSurname'=>ucwords($comment['user_surname']), 'userExtra'=>$comment['medspec_list'], 'isResponder'=>$comment['is_responder'], 'userNote'=>$comment['remarks_public'], 'commentCreatedAt'=>$comment['created_at'], 'commentText'=>htmlspecialchars($comment['comment']), 'attachments'=>$comment['attachments']]);
- ?>
-
-
- <?php endforeach; ?>
- <?php else: ?>
- <div class="alert alert-info"><?php echo _('No comments so far.'); ?></div>
- <?php endif; ?>
- </table>
|