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

Show conversation status icon in the list

This commit is contained in:
FreeScout 2020-12-02 06:11:25 -08:00
parent 74ce6ca353
commit 807bddeace

View File

@ -134,7 +134,7 @@
@if ($conversation->isPhone())
<i class="glyphicon glyphicon-earphone"></i>
@endif
{{--<span class="conv-subject-number">#{{ $conversation->number }} </span>--}}@action('conversations_table.before_subject', $conversation){{ $conversation->getSubject() }}@action('conversations_table.after_subject', $conversation)
@if ($conversation->status == App\Conversation::STATUS_CLOSED && $folder->type != App\Folder::TYPE_CLOSED)<i class="glyphicon glyphicon-lock text-help" title="{{ __('Closed') }}" data-toggle="tooltip"></i> @endif{{ '' }}@if ($conversation->status == App\Conversation::STATUS_SPAM && $folder->type != App\Folder::TYPE_SPAM)<i class="glyphicon glyphicon-ban-circle text-help" title="{{ __('Spam') }}" data-toggle="tooltip"></i> @endif{{ '' }}@if ($conversation->state == App\Conversation::STATE_DELETED && $folder->type != App\Folder::TYPE_DELETED)<i class="glyphicon glyphicon-trash text-help" title="{{ __('Deleted') }}" data-toggle="tooltip"></i> @endif{{ '' }}@if ($conversation->state == App\Conversation::STATE_DRAFT && $folder->type != App\Folder::TYPE_DRAFTS)<i class="glyphicon glyphicon-duplicate text-help" title="{{ __('Drafts') }}" data-toggle="tooltip"></i> @endif{{ '' }}@action('conversations_table.before_subject', $conversation){{ $conversation->getSubject() }}@action('conversations_table.after_subject', $conversation)
</p>
<p class="conv-preview">@if (!empty($params['show_mailbox']))[{{ $conversation->mailbox_cached->name }}]<br/>@endif{{ '' }}@if ($conversation->preview){{ $conversation->preview }}@else&nbsp;@endif</p>
</a>