|
@@ -208,7 +208,8 @@ $(function(){
|
|
|
// HOME PAGE
|
|
|
if($(".path-frontpage").length > 0){
|
|
|
|
|
|
- let elem = "<div class='main_logo'></div>";
|
|
|
+ let elem = $(".field_logo").clone();
|
|
|
+
|
|
|
$(".about .views-row").prepend(elem);
|
|
|
|
|
|
var header_container = "<div class='header_container'></div>";
|
|
@@ -451,6 +452,16 @@ if($(".block-region-first").find("a").length == 0 ){
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+//spec ressources video
|
|
|
+if($(".page-node-type-ressource").find(".ressources-video").length > 0){
|
|
|
+
|
|
|
+ let vid = $(".field_videos").parents().eq(0);
|
|
|
+ let prog = $(".field_programme").parents().eq(0);
|
|
|
+ $(vid).clone().insertAfter(prog);
|
|
|
+ $(vid).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(){
|