Skip to content

Commit

Permalink
Add 'System Wide' checkbox for GitHub App configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Jan 16, 2025
1 parent 3c83c7f commit e77c04a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions resources/views/livewire/source/github/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<x-forms.input helper="If empty, your GitHub user will be used."
placeholder="If empty, your GitHub user will be used." id="organization" label="Organization (on GitHub)" />
</div>
@if (!isCloud())
<div class="w-48">
<x-forms.checkbox id="is_system_wide" label="System Wide"
helper="If checked, this GitHub App will be available for everyone in this Coolify instance." />
</div>
@endif
<div x-data="{
activeAccordion: '',
setActiveAccordion(id) {
Expand Down Expand Up @@ -40,9 +46,7 @@ class="flex items-center justify-between w-full px-1 py-2 text-left select-none
</div>
</div>

@if (!isCloud())
<x-forms.checkbox id="is_system_wide" label="System Wide" />
@endif

<x-forms.button class="mt-4" type="submit">
Continue
</x-forms.button>
Expand Down

0 comments on commit e77c04a

Please sign in to comment.