Skip to content

Commit 21640df

Browse files
author
Itamar Junior
committed
Update headings in CRO definition manager and provider heading for consistency
1 parent f1a223f commit 21640df

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

resources/views/livewire/cro/cro-doc-definition-manager.blade.php

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section class="w-full">
22
@include('partials.cro-definition-heading')
33

4-
<x-cro-definition.layout :heading="__('Companies')" :subheading="__('All companies under your current business')">
4+
<x-cro-definition.layout :heading="__('CRO Definitions')" :subheading="__('All definitions related to your CRO')">
55
{{-- Flash messages --}}
66
@if (session('success'))
77
<div class="mb-4">
@@ -20,14 +20,15 @@
2020
@endif
2121

2222
<div>
23-
<div class="flex justify-between items-center mb-4">
24-
<input type="text" wire:model.debounce.500ms="search" placeholder="Search definitions..."
23+
<div class="flex justify-between mb-4 space-x-4">
24+
<input type="text" wire:model.live.debounce.500ms="search" placeholder="Search definitions..."
2525
class="border rounded p-2" />
26-
<button wire:click="showCreateModal()" class="bg-blue-600 text-white px-4 py-2 rounded">New
27-
Definition</button>
26+
<button wire:click="showCreateModal()" class="bg-blue-600 text-white px-4 py-2 rounded">
27+
New Definition
28+
</button>
2829
</div>
2930

30-
<table class="w-full table-auto">
31+
<table class="w-full text-left table-auto min-w-max" wire:loading.class="opacity-50">
3132
<thead>
3233
<tr class="bg-gray-100">
3334
<th class="px-4 py-2">Name</th>
@@ -66,6 +67,9 @@ class="text-red-600">Delete</button>
6667
<h3 class="text-lg font-semibold mb-4">
6768
{{ $modelId ? 'Edit Definition' : 'New Definition' }}
6869
</h3>
70+
<span class="text-sm text-gray-600 mb-4 block">
71+
{{ $modelId ? 'Update the details of this definition.' : 'Fill in the details for the new definition, this will apply to all Businesses.' }}
72+
</span>
6973

7074
<form wire:submit.prevent="{{ $modelId ? 'update' : 'create' }}">
7175
<div class="space-y-4">
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="relative mb-6 w-full">
2-
<flux:heading size="xl" level="1">{{ __('Providers') }}</flux:heading>
3-
<flux:subheading size="lg" class="mb-6">{{ __('Manage your providers') }}</flux:subheading>
2+
<flux:heading size="xl" level="1">{{ __('Suppliers') }}</flux:heading>
3+
<flux:subheading size="lg" class="mb-6">{{ __('Manage your suppliers') }}</flux:subheading>
44
<flux:separator variant="subtle" />
55
</div>

0 commit comments

Comments
 (0)