@@ -29,17 +29,20 @@ class="img-fluid" alt="{{ $look['title_of_work'] }}" loading="lazy"
29
29
alt =" Creative Commons Licence"
30
30
src =" https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png" /></a ></span >
31
31
</div >
32
- <h3 >
33
- Description of this object or artwork
34
- </h3 >
35
- <div class =" shadow-sm p-3 mx-auto" >
36
- @markdown ($look [' main_text_description' ] )
37
- </div >
38
-
39
- <div class =" shadow-sm p-3 mx-auto mb-3 mt-3" >
40
- @markdown ($look [' object_metadata' ] )
32
+ @if (! is_null ($look [' main_text_description' ]) )
41
33
42
- </div >
34
+ <div class =" shadow-sm p-3 mx-auto" >
35
+ <h3 class =" text-info" >
36
+ Description of this object or artwork
37
+ </h3 >
38
+ @markdown ($look [' main_text_description' ] ?? ' No description provided' )
39
+ </div >
40
+ @endif
41
+ @if (! is_null ($look [' object_metadata' ]) )
42
+ <div class =" shadow-sm p-3 mx-auto mb-3 mt-3" >
43
+ @markdown ($look [' object_metadata' ] ?? ' No metadata available' )
44
+ </div >
45
+ @endif
43
46
@if (isset ($look [' adlib_id_number' ]) )
44
47
@foreach ($adlib as $record )
45
48
@include (' includes.elements.iiif' )
@@ -51,35 +54,34 @@ class="img-fluid" alt="{{ $look['title_of_work'] }}" loading="lazy"
51
54
52
55
<!-- column two -->
53
56
<div class =" col-md-5 mt-3" >
54
- <h3 >
55
- Look
56
- </h3 >
57
- <div class =" col shadow-sm p-3 mx-auto mb-3" >
58
57
58
+ <div class =" col shadow-sm p-3 mx-auto mb-3" >
59
+ <h3 class =" text-info" >
60
+ Look
61
+ </h3 >
59
62
{!! $look [' look_text' ] ! !}
60
63
@if (isset ($look [' look_answers' ]) )
61
64
<button type =" button" class =" btn btn-dark" data-bs-toggle =" modal"
62
65
data-bs-target =" #lookanswers" >Answers
63
66
</button >
64
67
@endif
65
68
</div >
66
- <h3 >
67
- Think
68
- </h3 >
69
69
<div class =" col shadow-sm p-3 mx-auto mb-3" >
70
-
70
+ <h3 class =" text-info" >
71
+ Think
72
+ </h3 >
71
73
{!! $look [' think_text' ] ! !}
72
74
@if (isset ($look [' think_answers' ]) )
73
75
<button type =" button" class =" btn btn-dark" data-bs-toggle =" modal"
74
76
data-bs-target =" #thinkanswers" >Answers
75
77
</button >
76
78
@endif
77
79
</div >
78
- <h3 >
79
- Do
80
- </h3 >
81
- <div class =" col shadow-sm p-3 mx-auto mb-3" >
82
80
81
+ <div class =" col shadow-sm p-3 mx-auto mb-3" >
82
+ <h3 class =" text-info" >
83
+ Do
84
+ </h3 >
83
85
{!! $look [' do_text' ] ! !}
84
86
@if (isset ($look [' do_answers' ]) )
85
87
<button type =" button" class =" btn btn-dark" data-bs-toggle =" modal"
@@ -89,10 +91,10 @@ class="img-fluid" alt="{{ $look['title_of_work'] }}" loading="lazy"
89
91
</div >
90
92
91
93
@if (isset ($look [' adlib_id_number' ]) )
92
- <h3 >
93
- Collections record
94
- </h3 >
95
94
<div class =" col shadow-sm p-3 mx-auto mb-3" >
95
+ <h3 class =" text-info" >
96
+ Collections record
97
+ </h3 >
96
98
<p >
97
99
{!! $look [' adlib_id_number' ] ! !}
98
100
@foreach ($adlib as $record )
0 commit comments