Apps/View/Front/default/profile/index.php 1 location
|
@@ 36-39 (lines=4) @@
|
| 33 |
|
<?= $this->render('profile/_listTab', ['rating' => $ratingOn]) ?> |
| 34 |
|
|
| 35 |
|
<?php |
| 36 |
|
if ($records === null || $records->count() < 1) { |
| 37 |
|
echo '<div class="alert alert-danger">' . __('Users are not founded!') . '</div>'; |
| 38 |
|
return; |
| 39 |
|
} |
| 40 |
|
?> |
| 41 |
|
|
| 42 |
|
<?php foreach ($records as $profile) :?> |
Apps/View/Front/default/profile/search.php 1 location
|
@@ 36-42 (lines=7) @@
|
| 33 |
|
|
| 34 |
|
<?= $form->finish() ?> |
| 35 |
|
<?php |
| 36 |
|
if ($records === null || $records->count() < 1) { |
| 37 |
|
if ($model->send()) { |
| 38 |
|
echo '<div class="row"><div class="col-md-12"><div class="alert alert-danger">' . __('Users are not founded!') . '</div></div></div>'; |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
return; |
| 42 |
|
} |
| 43 |
|
?> |
| 44 |
|
<?php foreach ($records as $profile) :?> |
| 45 |
|
<div class="row" style="padding-top: 10px;"> |