{{ __('Reusable canned replies your team can apply from the inbox composer. Workspace-visible to every member; authoring is restricted to owner / admin.') }}
| {{ __('Name') }} | {{ __('Scope') }} | {{ __('Suggested action') }} | {{ __('Usage') }} | |
|---|---|---|---|---|
|
{{ $macro->name }}
@if ($macro->shortcut)
/{{ $macro->shortcut }}
@endif
|
@if ($macro->isGlobal())
|
{{-- Suggested action column.
Macros without an attached action render an
em-dash so the column reads consistently;
macros with an attached action render a chip
with its label + prefill summary. Stub
actions (Royal Mail return label today)
get an amber "Coming soon" badge so the
operator can see at a glance which rows
will block when applied. --}}
@php $action = $macro->primaryAction(); @endphp
@if ($action === null)
—
@else
@php
$summary = $action->prefillSummary();
$isStub = $action->isStubType();
@endphp
{{ $summary }}
@endif
|
{{ trans_choice('{0} unused|{1} :count use|[2,*] :count uses', $macro->usage_count, ['count' => $macro->usage_count]) }}
@if ($macro->last_used_at)
{{ $macro->last_used_at->diffForHumans() }}
@endif
|
@if ($canManage)
@if ($confirmingDeleteId === $macro->id)
@else
{{ __('Read-only') }}
@endif
|