An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Add settings button to projects page.
MarioCakef95f44f4ccee
diff --git a/app/Livewire/Project/Index.php b/app/Livewire/Project/Index.phpindex 0e4f15a5c5..9ba082a8c9 100644--- a/app/Livewire/Project/Index.php+++ b/app/Livewire/Project/Index.php@@ -18,7 +18,11 @@ class Index extends Componentpublic function mount(){$this->private_keys = PrivateKey::ownedByCurrentTeam()->get();- $this->projects = Project::ownedByCurrentTeam()->get();+ $this->projects = Project::ownedByCurrentTeam()->get()->map(function ($project) {+ $project->route = route('project.edit', ['project_uuid' => $project->uuid]);++ return $project;+ });$this->servers = Server::ownedByCurrentTeam()->count();}diff --git a/resources/views/livewire/project/index.blade.php b/resources/views/livewire/project/index.blade.phpindex 10719456e0..bebe15258c 100644--- a/resources/views/livewire/project/index.blade.php+++ b/resources/views/livewire/project/index.blade.php@@ -24,6 +24,12 @@<div x-text="item.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" @click="false">+ <a class="mx-4 font-bold hover:underline"+ :href="item.route">+ Settings+ </a>+ </div></div></template></div>