diff --git a/views/custom/laRaffinerie.php b/views/custom/laRaffinerie.php index ee063257c2f355608e8d3fbfc1c99019bbfa7afb..67205f825e855c92c3a078810a83b5623e4a8b5a 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>