1 |
www |
1 |
<?php
|
|
|
2 |
use LeadersLinked\Library\Functions;
|
|
|
3 |
|
|
|
4 |
$this->inlineScript()->captureStart();
|
|
|
5 |
echo <<<JS
|
|
|
6 |
jQuery( document ).ready(function( $ ) {
|
|
|
7 |
$('#suggestions-list-group-members').mCustomScrollbar({
|
|
|
8 |
setHeight: '450px',
|
|
|
9 |
axis:'y' // vertical and horizontal scrollbar
|
|
|
10 |
});
|
|
|
11 |
});
|
|
|
12 |
JS;
|
|
|
13 |
$this->inlineScript()->captureEnd();
|
|
|
14 |
|
|
|
15 |
?>
|
|
|
16 |
|
|
|
17 |
<div class="suggestions-list" id="suggestions-list-group-members">
|
|
|
18 |
<div class="sd-title">
|
|
|
19 |
<h3>LABEL_MEMBERS</h3>
|
|
|
20 |
</div><!--sd-title end-->
|
|
|
21 |
<?php foreach($items as $item) : ?>
|
|
|
22 |
|
|
|
23 |
<div class="suggestion-usd ">
|
|
|
24 |
<img style="width: 50px; height: auto" src="<?php echo $this->url('storage', ['type' => 'user', 'code' => $item['uuid'], 'filename' => $item['image']])?>" alt="">
|
|
|
25 |
<div class="sgt-text">
|
|
|
26 |
<h4><?php echo trim($item['first_name'] . ' ' . $item['last_name']) ?></h4>
|
|
|
27 |
</div>
|
|
|
28 |
<span><a href="<?php echo $this->url('profile/view', ['id' => $item['uuid'] ]) ?>"><i class="fa fa-external-link"></i></a></span>
|
|
|
29 |
</div>
|
|
|
30 |
|
|
|
31 |
<?php endforeach; ?>
|
|
|
32 |
</div>
|