mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
feat(github-runners): link to the GitHub App from not-ready callouts
This commit is contained in:
@@ -107,6 +107,19 @@
|
||||
<li>{{ $requirement }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@can('view', $this->selectedApp)
|
||||
<div class="mt-2 flex flex-wrap gap-2">
|
||||
<a href="{{ getPermissionsPath($this->selectedApp) }}" class="button"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
Update on GitHub
|
||||
<x-external-link />
|
||||
</a>
|
||||
<a href="{{ route('source.github.permissions', ['github_app_uuid' => $this->selectedApp->uuid]) }}"
|
||||
class="button" {{ wireNavigate() }}>
|
||||
Open App permissions
|
||||
</a>
|
||||
</div>
|
||||
@endcan
|
||||
</x-callout>
|
||||
@endif
|
||||
|
||||
|
||||
@@ -49,6 +49,15 @@
|
||||
<li>{{ $requirement }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@can('view', $github_app)
|
||||
<div class="mt-2">
|
||||
<a href="{{ getPermissionsPath($github_app) }}" class="button" target="_blank"
|
||||
rel="noopener noreferrer">
|
||||
Update on GitHub
|
||||
<x-external-link />
|
||||
</a>
|
||||
</div>
|
||||
@endcan
|
||||
</x-callout>
|
||||
@endif
|
||||
</x-application.settings-section>
|
||||
|
||||
Reference in New Issue
Block a user