Use generic copy on messaging Integrations screens.
Deploy Ladill Care / deploy (push) Successful in 1m7s

Drop wallet/brand marketing language so credential setup reads as neutral configuration.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-12 18:40:04 +00:00
co-authored by Cursor
parent 30b96b3956
commit 8567209707
5 changed files with 22 additions and 21 deletions
@@ -1,9 +1,9 @@
<x-app-layout title="Integrations">
<x-settings.page title="Messaging integrations">
<p class="text-sm text-slate-600">
Connect your own <a href="https://sms.ladill.com" target="_blank" rel="noopener" class="text-teal-700 underline">Ladill SMS</a>
and <a href="https://bird.ladill.com" target="_blank" rel="noopener" class="text-teal-700 underline">Ladill Bird</a>
API keys so patient messages bill your wallets and send under your brand.
Configure <a href="https://sms.ladill.com" target="_blank" rel="noopener" class="text-teal-700 underline">SMS</a>
and <a href="https://bird.ladill.com" target="_blank" rel="noopener" class="text-teal-700 underline">email</a>
credentials for outbound messaging.
</p>
@if (! $canManage)
@@ -11,7 +11,7 @@
@endif
<div class="mt-6 space-y-6">
<x-settings.card title="Ladill SMS" description="Paste an SMS API key (lsk_sms_live_…) and an approved sender ID from sms.ladill.com.">
<x-settings.card title="SMS" description="API key and approved sender ID.">
@if ($credential->hasValidSms())
<div class="mb-4 rounded-lg border border-emerald-200 bg-emerald-50 px-3 py-2 text-sm text-emerald-800">
Connected · key {{ $credential->sms_api_key_prefix }} · sender <strong>{{ $credential->sms_sender_id }}</strong>
@@ -50,13 +50,13 @@
<div class="mt-3">
<x-confirm-dialog
name="disconnect-sms"
title="Disconnect Ladill SMS?"
message="Patient SMS will stop working until you connect a new key."
title="Disconnect SMS?"
message="Outbound SMS will stop until credentials are connected again."
:action="route('care.integrations.sms.disconnect')"
confirm-label="Disconnect SMS"
confirm-label="Disconnect"
>
<x-slot:trigger>
<button type="button" class="text-sm text-rose-700 hover:underline">Disconnect SMS</button>
<button type="button" class="text-sm text-rose-700 hover:underline">Disconnect</button>
</x-slot:trigger>
</x-confirm-dialog>
</div>
@@ -64,7 +64,7 @@
@endif
</x-settings.card>
<x-settings.card title="Ladill Bird" description="Paste a Bird API key (lsk_live_…) plus a from address on a verified domain from bird.ladill.com.">
<x-settings.card title="Email" description="API key and from address on a verified domain.">
@if ($credential->hasValidBird())
<div class="mb-4 rounded-lg border border-emerald-200 bg-emerald-50 px-3 py-2 text-sm text-emerald-800">
Connected · key {{ $credential->bird_api_key_prefix }} · from
@@ -110,13 +110,13 @@
<div class="mt-3">
<x-confirm-dialog
name="disconnect-bird"
title="Disconnect Ladill Bird?"
message="Patient email will stop working until you connect a new key."
title="Disconnect email?"
message="Outbound email will stop until credentials are connected again."
:action="route('care.integrations.bird.disconnect')"
confirm-label="Disconnect Bird"
confirm-label="Disconnect"
>
<x-slot:trigger>
<button type="button" class="text-sm text-rose-700 hover:underline">Disconnect Bird</button>
<button type="button" class="text-sm text-rose-700 hover:underline">Disconnect</button>
</x-slot:trigger>
</x-confirm-dialog>
</div>