1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-24 11:22:42 +01:00

Hightlight new Unassigned and Mine conversations in the dashboard

This commit is contained in:
FreeScout 2020-12-16 01:20:45 -08:00
parent 6cffdba578
commit 608e6e7a1d
2 changed files with 18 additions and 2 deletions

18
public/css/style.css vendored
View File

@ -846,7 +846,7 @@ a h4 {
.dash-card a.dash-card-list-item,
.dash-card a.dash-card-list-item:hover,
.dash-card a.dash-card-list-item:focus {
color: #2a3b47;
color: #93a1af;
}
.dash-card a.dash-card-list-item:hover {
text-decoration: underline;
@ -878,6 +878,22 @@ a h4 {
display: block;
float: right;
}
.dash-card-list a:nth-of-type(-n+2),
.dash-card-list a:nth-of-type(-n+2) strong {
color: #2a3b47;
}
.dash-card-list a:nth-of-type(n+3) strong {
font-weight: normal;
}
.dash-card-list a:nth-of-type(1) strong.has-value {
background-color: #85919e;
color: #fff;
padding: 0px 7px 0 7px !important;
border-radius: 18px;
text-align: center;
height: 20px;
margin-right: -7px !important;
}
.dash-card-inactive-content {
display: none;
padding: 8px 20px;

View File

@ -23,7 +23,7 @@
@php
$active_count = $folder->getCount($main_folders);
@endphp
<a href="{{ route('mailboxes.view.folder', ['id' => $mailbox->id, 'folder_id' => $folder->id]) }}" class="dash-card-list-item @if (!$active_count) dash-card-item-empty @endif" title="@if ($active_count){{ __('Waiting Since') }}@else{{ __('View conversations') }}@endif">{{ $folder->getTypeName() }}@if (!$folder->isIndirect() && $active_count)<span class="waiting-since">/ {{ $folder->getWaitingSince() }}</span>@endif<strong>{{ $active_count }}</strong></a>
<a href="{{ route('mailboxes.view.folder', ['id' => $mailbox->id, 'folder_id' => $folder->id]) }}" class="dash-card-list-item @if (!$active_count) dash-card-item-empty @endif" title="@if ($active_count){{ __('Waiting Since') }}@else{{ __('View conversations') }}@endif">{{ $folder->getTypeName() }}@if (!$folder->isIndirect() && $active_count)<span class="waiting-since">/ {{ $folder->getWaitingSince() }}</span>@endif<strong @if ((int)$active_count) class="has-value" @endif>{{ $active_count }}</strong></a>
@endforeach
</div>
<div class="dash-card-inactive-content">