diff --git a/app/Controllers/ProjectPages.php b/app/Controllers/ProjectPages.php index dd5b508..5922be7 100644 --- a/app/Controllers/ProjectPages.php +++ b/app/Controllers/ProjectPages.php @@ -28,11 +28,11 @@ class ProjectPages extends ProjectBaseController $projData = new \App\Models\projectData(); $res1 = $projData->projectList(); $resDet = $projData->projectListDetails(); + $resDocument = $projData->documentList(); $data['page_data'] = $res1[$page_key]; $data['page_detail_data'] = $resDet[$page_key]; -//var_dump($data['page_detail_data']); -//exit; + $data['page_document'] = $resDocument[$page_key]; return view('projects/projdetail',$data); } diff --git a/app/Models/projectData.php b/app/Models/projectData.php index ceb24ed..7275131 100644 --- a/app/Models/projectData.php +++ b/app/Models/projectData.php @@ -10,8 +10,6 @@ class projectData extends baseModel parent::__construct(); } - - public function projectList(){ $data =[ 'myfit'=>[ @@ -631,7 +629,7 @@ class projectData extends baseModel ]; return $data; } - private function devOpList(){ + public function devOpList(){ $data =[ 'chiefsoft'=>[ 'DEV'=>[ @@ -678,6 +676,101 @@ class projectData extends baseModel } + public function documentList(){ + $data =[ + 'myfit'=>[ + [ + 'name' => 'Release Docs', + 'document' => 'https://docs.google.com/document/d/1uybH0o-M_f0PintViYJUlenOcSllWxmwU4rj1lylZuI/edit', + ], + [ + 'name' => 'DevOps Jenkins', + 'document' => 'https://docs.google.com/document/d/1TJN-rfuhtoEkkDpWeQh7CcC9G99dx2yUs_xWXVWYlvE/edit', + ], + ], + 'wrenchboard'=>[ + [ + 'name' => 'Release Plans', + 'document' => 'https://docs.google.com/document/d/1n-S0EAyfsc6ylRCTeRB1hIQODvNfOibKpiuB3WwNWao/edit', + ], + [ + 'name' => ' WrenchBoard Transfer', + 'document' => 'https://docs.google.com/document/d/1c-PRXW2d53m9aOAS-ZjTOs8z6xX1LcUNHi3nvowT9YE/edit', + ], + ], + 'coregrade'=>[ + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + ], + 'float'=>[ + [ + 'name' => 'Port Defination', + 'document' => 'https://docs.google.com/document/d/1rOAEcv8Lzg_ZdUhhiCUZJIPPAvUvTlc9vzvJMQOsUfU/edit', + ], + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + ], + 'legacyfloat'=>[ + [ + 'name' => 'Migration Feedback', + 'document' => 'https://docs.google.com/document/d/1z-tLRt6Oz9mWMFBVnDK1lrBJg9AjrH-j4TgZLSsRcFw/edit', + ], + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + ], + 'kintcare'=>[ + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + ], + 'merms'=>[ + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + ], + 'chiefsoft'=>[ + [ + 'name' => 'Jenkis Release', + 'document' => 'https://docs.google.com/document/d/1II_qZqPhq_ShL7iM2ADBZyWwiQ8YYHQRrLpVnf2rMZY/edit', + ], + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + ], + 'jubabox'=>[ + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + ], + ]; + return $data; + } diff --git a/app/Views/projects/projdetail.php b/app/Views/projects/projdetail.php index 0943a42..d280b44 100644 --- a/app/Views/projects/projdetail.php +++ b/app/Views/projects/projdetail.php @@ -62,9 +62,9 @@