|
@@ -462,6 +462,21 @@ if($(".page-node-type-ressource").find(".ressources-video").length > 0){
|
|
|
|
|
|
}
|
|
|
|
|
|
+//ressources page projet
|
|
|
+
|
|
|
+if($(".page-node-type-projet").length > 0){
|
|
|
+
|
|
|
+ let art = $(".views-field-field-ressources-liees article");
|
|
|
+
|
|
|
+ art.each(function(){
|
|
|
+ let t = $(this).find("h2");
|
|
|
+
|
|
|
+ $(t).clone().insertAfter($(this).find(".field_image"));
|
|
|
+ $(t).remove();
|
|
|
+ });
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
//crop text for collection
|
|
|
// $(".block-region-third .views-field-description__value").addClass("hidden_text");
|
|
|
// $(".block-region-third .views-field-description__value").on("click", function(){
|