FIX: Все комментарии участника (профиль)
This commit is contained in:
parent
03ffa0b6e5
commit
f565a1e6fa
|
@ -88,7 +88,7 @@ class ProfileController extends Controller
|
|||
'/user/profile/comment',
|
||||
[
|
||||
'meta' => self::metadata('profile_comments', $profile),
|
||||
'data' => array_merge($this->sidebar($pagesCount, $profile), ['comments' => $comments]),
|
||||
'data' => array_merge($this->sidebar($pagesCount, $profile), ['comments' => $mergedArr]),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
<thead>
|
||||
<th class="w50">id</th>
|
||||
<th><?= __('admin.info'); ?></th>
|
||||
<th><?= __('admin.type'); ?></th>
|
||||
<th><?= __('admin.action'); ?></th>
|
||||
<th class="center"><?= __('admin.type'); ?></th>
|
||||
<th class="center"><?= __('admin.action'); ?></th>
|
||||
<th class="center">#</th>
|
||||
</thead>
|
||||
<?php foreach ($data['audits'] as $key => $audit) : ?>
|
||||
|
@ -71,8 +71,8 @@
|
|||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td><?= __('admin.' . $audit['type_belonging']); ?></td>
|
||||
<td>
|
||||
<td class="center"><?= __('admin.' . $audit['type_belonging']); ?></td>
|
||||
<td class="center">
|
||||
<a data-id="<?= $audit['content'][$audit['action_type'] . '_id']; ?>" data-type="<?= $audit['action_type']; ?>" class="type-action text-sm">
|
||||
<?php if ($audit['content'][$audit['action_type'] . '_is_deleted'] == 1) : ?>
|
||||
<span class="red">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use Hleb\Constructor\Handlers\Request;
|
||||
|
||||
Request::getHead()->addStyles('/assets/css/style.css?21');
|
||||
Request::getHead()->addStyles('/assets/css/style.css?7');
|
||||
?>
|
||||
|
||||
<?= insert('/meta', ['meta' => $meta]); ?>
|
||||
|
|
Loading…
Reference in a new issue