@@ -32,7 +32,7 @@ |
||
| 32 | 32 | </div> |
| 33 | 33 | <?php |
| 34 | 34 | if (!$model->items || count($model->items) < 1) { |
| 35 | - echo '<p class="alert alert-warning">' . __('No notifications available') . '</p>'; |
|
| 35 | + echo '<p class="alert alert-warning">'.__('No notifications available').'</p>'; |
|
| 36 | 36 | $this->stop(); |
| 37 | 37 | return; |
| 38 | 38 | } |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | |
| 22 | 22 | <h2><?= __('My logs') ?></h2> |
| 23 | 23 | <hr /> |
| 24 | -<?php if(!$records || $records->count() < 1) { |
|
| 24 | +<?php if (!$records || $records->count() < 1) { |
|
| 25 | 25 | echo $this->bootstrap()->alert('info', __('No logs is available')); |
| 26 | 26 | $this->stop(); |
| 27 | 27 | return; |
@@ -38,11 +38,11 @@ |
||
| 38 | 38 | |
| 39 | 39 | if (\App::$User->isAuth()) { |
| 40 | 40 | $userId = \App::$User->identity()->getId(); |
| 41 | - $navbar->menu('right', ['text' => __('Account') . ' <span class="badge" id="summary-count-block">0</span>', 'dropdown' => [ |
|
| 41 | + $navbar->menu('right', ['text' => __('Account').' <span class="badge" id="summary-count-block">0</span>', 'dropdown' => [ |
|
| 42 | 42 | ['text' => __('My profile'), 'link' => ['profile/show', [$userId]]], |
| 43 | - ['text' => __('Messages') . ' <span class="badge" id="pm-count-block">0</span>', 'link' => ['profile/messages'], 'class' => 'dropdown-item', 'html' => true], |
|
| 43 | + ['text' => __('Messages').' <span class="badge" id="pm-count-block">0</span>', 'link' => ['profile/messages'], 'class' => 'dropdown-item', 'html' => true], |
|
| 44 | 44 | ['text' => __('Feed'), 'link' => ['profile/feed'], 'class' => 'dropdown-item'], |
| 45 | - ['text' => __('Notifications') . ' <span class="badge" id="notify-count-block">0</span>', 'link' => ['profile/notifications'], 'class' => 'dropdown-item', 'html' => true], |
|
| 45 | + ['text' => __('Notifications').' <span class="badge" id="notify-count-block">0</span>', 'link' => ['profile/notifications'], 'class' => 'dropdown-item', 'html' => true], |
|
| 46 | 46 | ['text' => __('Settings'), 'link' => ['profile/settings'], 'class' => 'dropdown-item'], |
| 47 | 47 | ], 'properties' => ['html' => true]]); |
| 48 | 48 | $navbar->menu('right', ['text' => __('Logout'), 'link' => ['user/logout']]); |