refactoring to handle nederland for taxonomyColor switch
This commit is contained in:
parent
1fc4e1ebc6
commit
029a4dec9f
|
|
@ -8,6 +8,7 @@ function getThematiqueFamilySlug($thematique_slug)
|
||||||
switch ($thematique_slug) {
|
switch ($thematique_slug) {
|
||||||
case "energie":
|
case "energie":
|
||||||
case "urbanisme":
|
case "urbanisme":
|
||||||
|
case "stedenbouw":
|
||||||
return "energies-urbanisme";
|
return "energies-urbanisme";
|
||||||
|
|
||||||
case "acoustique":
|
case "acoustique":
|
||||||
|
|
@ -32,8 +33,9 @@ function getThematiqueFamilySlug($thematique_slug)
|
||||||
return "patrimoine-renovation";
|
return "patrimoine-renovation";
|
||||||
|
|
||||||
case "location":
|
case "location":
|
||||||
case "renovation-circulaire":
|
|
||||||
case "verhuur":
|
case "verhuur":
|
||||||
|
case "circulaire-renovatie":
|
||||||
|
case "renovation-circulaire":
|
||||||
return "location-renovation-circulaire";
|
return "location-renovation-circulaire";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user