notifications and save buttons fixed
This commit is contained in:
@@ -124,14 +124,16 @@
|
||||
<i class="far fa-bell"></i>
|
||||
</span>
|
||||
@if ($notifications)
|
||||
<span class="badge badge-md badge-circle badge-floating badge-warning">{{ $notifications }}</span>
|
||||
<span class="badge badge-md badge-circle badge-reminder badge-warning">{{ $notifications }}</span>
|
||||
@endif
|
||||
</a>
|
||||
|
||||
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right py-0 overflow-hidden">
|
||||
<div class="px-3 py-3">
|
||||
<a class="text-sm text-muted m-0">{{ trans_choice('header.notifications.counter', $notifications, ['count' => $notifications]) }}</a>
|
||||
</div>
|
||||
@if ($notifications)
|
||||
<div class="p-3">
|
||||
<a class="text-sm text-muted">{{ trans_choice('header.notifications.counter', $notifications, ['count' => $notifications]) }}</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="list-group list-group-flush">
|
||||
@if (count($bills))
|
||||
@@ -153,7 +155,7 @@
|
||||
<a href="{{ route('users.read.invoices', $user->id) }}" class="list-group-item list-group-item-action">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-auto">
|
||||
<i class="fa fa-money-bill-alt"></i>
|
||||
<i class="fa fa-money-bill"></i>
|
||||
</div>
|
||||
<div class="col ml--2">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
@@ -165,7 +167,11 @@
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<a href="#" class="dropdown-item text-center text-success font-weight-bold py-3">{{ trans('header.notifications.view_all') }}</a>
|
||||
@if ($notifications)
|
||||
<a href="#" class="dropdown-item text-center text-primary font-weight-bold py-3">{{ trans('header.notifications.view_all') }}</a>
|
||||
@else
|
||||
<a class="dropdown-item text-center text-primary font-weight-bold py-3">{{ trans_choice('header.notifications.counter', $notifications, ['count' => $notifications]) }}</a>
|
||||
@endif
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@@ -176,7 +182,7 @@
|
||||
<i class="fa fa-sync-alt"></i>
|
||||
</span>
|
||||
@if ($updates)
|
||||
<span class="badge badge-md badge-circle badge-floating badge-warning">{{ $updates }}</span>
|
||||
<span class="badge badge-md badge-circle badge-update badge-warning">{{ $updates }}</span>
|
||||
@endif
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user