From ef34dab050563211e679bc5eb285c2b40ae60011 Mon Sep 17 00:00:00 2001
From: Rap RIV <raphaelriviere06@gmail.com>
Date: Mon, 4 Feb 2019 17:06:47 +0400
Subject: [PATCH] Modif

---
 views/custom/laRaffinerie.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/views/custom/laRaffinerie.php b/views/custom/laRaffinerie.php
index ee063257c..67205f825 100755
--- a/views/custom/laRaffinerie.php
+++ b/views/custom/laRaffinerie.php
@@ -440,7 +440,7 @@ $projectList = [];
 				$colorCount = 0;
 
 				// LEVEL 1
-				$type = Project::COLLECTION;
+				$type = Organization::COLLECTION;
 				$elt = PHDB::findOne($type,array("slug" => "laRaffinerie"));
 				$idElt = (String)$elt["_id"] ;
 				$linksElt = Element::getAllLinks($elt["links"], $type, $idElt);
@@ -458,7 +458,7 @@ $projectList = [];
 							<li>
 								<a href='javascript:;' class='linkMenu linkOrganization' 
 									data-key='".$idElt."' 
-									data-col='".Project::CONTROLLER."'
+									data-col='".$type."'
 									data-countmembers='".getCountMembers($elt)."'
 									data-countevents='".getCountEvents($elt)."'
 									data-countprojects='".getCountProjects($elt)."'
@@ -592,7 +592,7 @@ $projectList = [];
 			$thumbImgUrl 			= getProfileThumbUrl($elt);
 			$shortDescription = getShortDescription($elt);
 
-			
+
 			$nbInscrits = (!empty($elt['links']['members']) ? count(@$elt['links']['members']) : 0);
 			
 		?>
@@ -649,7 +649,7 @@ $projectList = [];
 					?>
 					</button>
 				</div> -->
-				<div class="col-sm-4"><a class="customBtn" href="https://chat.communecter.org/channel/laRaffinerie"><?php echo Yii::t("cooperation", "Chat"); 
+				<div class="col-sm-4"><a class="customBtn" href="https://chat.communecter.org/channel/laRaffinerie" target="_blank"><?php echo Yii::t("cooperation", "Chat"); 
 					?></a></div>
 				<div class="col-sm-4"><a class="customBtn" href="#">Contact</a></div>
 				<div class="col-sm-4"><a class="customBtn" href="#">S'inscrire au projet</a></div>
-- 
GitLab