Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel CAZAL
co2
Commits
ef34dab0
Commit
ef34dab0
authored
Feb 04, 2019
by
Raph El
Browse files
Modif
parent
739b2ca5
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/custom/laRaffinerie.php
View file @
ef34dab0
...
@@ -440,7 +440,7 @@ $projectList = [];
...
@@ -440,7 +440,7 @@ $projectList = [];
$colorCount
=
0
;
$colorCount
=
0
;
// LEVEL 1
// LEVEL 1
$type
=
Project
::
COLLECTION
;
$type
=
Organization
::
COLLECTION
;
$elt
=
PHDB
::
findOne
(
$type
,
array
(
"slug"
=>
"laRaffinerie"
));
$elt
=
PHDB
::
findOne
(
$type
,
array
(
"slug"
=>
"laRaffinerie"
));
$idElt
=
(
String
)
$elt
[
"_id"
]
;
$idElt
=
(
String
)
$elt
[
"_id"
]
;
$linksElt
=
Element
::
getAllLinks
(
$elt
[
"links"
],
$type
,
$idElt
);
$linksElt
=
Element
::
getAllLinks
(
$elt
[
"links"
],
$type
,
$idElt
);
...
@@ -458,7 +458,7 @@ $projectList = [];
...
@@ -458,7 +458,7 @@ $projectList = [];
<li>
<li>
<a href='javascript:;' class='linkMenu linkOrganization'
<a href='javascript:;' class='linkMenu linkOrganization'
data-key='"
.
$idElt
.
"'
data-key='"
.
$idElt
.
"'
data-col='"
.
Project
::
CONTROLLER
.
"'
data-col='"
.
$type
.
"'
data-countmembers='"
.
getCountMembers
(
$elt
)
.
"'
data-countmembers='"
.
getCountMembers
(
$elt
)
.
"'
data-countevents='"
.
getCountEvents
(
$elt
)
.
"'
data-countevents='"
.
getCountEvents
(
$elt
)
.
"'
data-countprojects='"
.
getCountProjects
(
$elt
)
.
"'
data-countprojects='"
.
getCountProjects
(
$elt
)
.
"'
...
@@ -592,7 +592,7 @@ $projectList = [];
...
@@ -592,7 +592,7 @@ $projectList = [];
$thumbImgUrl
=
getProfileThumbUrl
(
$elt
);
$thumbImgUrl
=
getProfileThumbUrl
(
$elt
);
$shortDescription
=
getShortDescription
(
$elt
);
$shortDescription
=
getShortDescription
(
$elt
);
$nbInscrits
=
(
!
empty
(
$elt
[
'links'
][
'members'
])
?
count
(
@
$elt
[
'links'
][
'members'
])
:
0
);
$nbInscrits
=
(
!
empty
(
$elt
[
'links'
][
'members'
])
?
count
(
@
$elt
[
'links'
][
'members'
])
:
0
);
?>
?>
...
@@ -649,7 +649,7 @@ $projectList = [];
...
@@ -649,7 +649,7 @@ $projectList = [];
?>
?>
</button>
</button>
</div> -->
</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>
?>
</a></div>
<div
class=
"col-sm-4"
><a
class=
"customBtn"
href=
"#"
>
Contact
</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>
<div
class=
"col-sm-4"
><a
class=
"customBtn"
href=
"#"
>
S'inscrire au projet
</a></div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment