mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-18 21:20:34 +00:00
feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled.
This commit is contained in:
@@ -4,9 +4,11 @@
|
||||
</x-slot>
|
||||
<div class="flex gap-2">
|
||||
<h1>Projects</h1>
|
||||
<x-modal-input buttonTitle="+ Add" title="New Project">
|
||||
<livewire:project.add-empty />
|
||||
</x-modal-input>
|
||||
@can('createAnyResource')
|
||||
<x-modal-input buttonTitle="+ Add" title="New Project">
|
||||
<livewire:project.add-empty />
|
||||
</x-modal-input>
|
||||
@endcan
|
||||
</div>
|
||||
<div class="subtitle">All your projects are here.</div>
|
||||
<div x-data="searchComponent()">
|
||||
@@ -24,8 +26,8 @@
|
||||
<div x-text="project.description"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="flex items-center justify-center gap-2 pt-4 pb-2 mr-4 text-xs lg:py-0 lg:justify-normal">
|
||||
<div class="flex items-center justify-center gap-2 pt-4 pb-2 mr-4 text-xs lg:py-0 lg:justify-normal"
|
||||
x-show="project.canUpdate">
|
||||
<a class="mx-4 font-bold hover:underline" wire:click.stop
|
||||
:href="`/project/${project.uuid}/edit`">
|
||||
Settings
|
||||
|
||||
Reference in New Issue
Block a user