|
|
@ -17,7 +17,9 @@ use yii\helpers\Url; |
|
|
|
<li class="dropdown notifications-menu"> |
|
|
|
<li class="dropdown notifications-menu"> |
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> |
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> |
|
|
|
<i class="fa fa-bell-o"></i> |
|
|
|
<i class="fa fa-bell-o"></i> |
|
|
|
<span class="label label-warning"><?= $count ?></span>
|
|
|
|
<?php if ($count > 0): ?> |
|
|
|
|
|
|
|
<span class="label label-warning"><?= $count ?></span>
|
|
|
|
|
|
|
|
<?php endif; ?> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<ul class="dropdown-menu"> |
|
|
|
<ul class="dropdown-menu"> |
|
|
|
<li class="header"><?= Yii::t('main', 'You have {count} notifications', ['count' => $count]) ?></li>
|
|
|
|
<li class="header"><?= Yii::t('main', 'You have {count} notifications', ['count' => $count]) ?></li>
|
|
|
|