fix: ui for self-hosted email settings

This commit is contained in:
Andras Bacsai 2023-10-06 10:57:35 +02:00
parent 575338609b
commit d85af3fefc

View File

@ -32,15 +32,22 @@ class="text-white normal-case btn btn-xs no-animation btn-primary">
</div> </div>
</form> </form>
@if ($this->sharedEmailEnabled) @if (isCloud())
<div class="w-64 pb-4"> @if ($this->sharedEmailEnabled)
<x-forms.checkbox instantSave="instantSaveInstance" id="team.use_instance_email_settings" <div class="w-64 pb-4">
label="Use hosted email service" /> <x-forms.checkbox instantSave="instantSaveInstance" id="team.use_instance_email_settings"
</div> label="Use Hosted Email Service" />
</div>
@else
<div class="pb-4 w-96">
<x-forms.checkbox disabled id="team.use_instance_email_settings"
label="Use Hosted Email Service (Pro+ subscription required)" />
</div>
@endif
@else @else
<div class="pb-4 w-96"> <div class="pb-4 w-96">
<x-forms.checkbox disabled id="team.use_instance_email_settings" <x-forms.checkbox instantSave="instantSaveInstance" id="team.use_instance_email_settings"
label="Use hosted email service (Pro+ subscription required)" /> label="Use system wide (transactional) email settings" />
</div> </div>
@endif @endif
@if (!$team->use_instance_email_settings) @if (!$team->use_instance_email_settings)