diff --git a/SRC/public/js/getListeOeuvre.js b/SRC/public/js/getListeOeuvre.js
index 4333404..fb41db4 100644
--- a/SRC/public/js/getListeOeuvre.js
+++ b/SRC/public/js/getListeOeuvre.js
@@ -5,9 +5,8 @@ $(document).ready( function() {
$.get(url, function( data ) {
data.forEach( function(el) {
$("#oeuvrePic").append('
')
- .append('
');
})
}, "json" )
diff --git a/SRC/resources/views/home.blade.php b/SRC/resources/views/home.blade.php
index 232f71c..eee9358 100755
--- a/SRC/resources/views/home.blade.php
+++ b/SRC/resources/views/home.blade.php
@@ -14,6 +14,8 @@
+
+@if ($referent != [])
@@ -27,6 +29,7 @@
@endforeach
+
@foreach ($referent as $ref)
@@ -41,7 +44,7 @@
@endforeach
-
+
@@ -52,6 +55,12 @@
Suivant
+
+@else
+
+blabla LOL
+
+@endif